testit-adapter-nose 3.3.2__tar.gz → 3.4.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: testit-adapter-nose
3
- Version: 3.3.2
3
+ Version: 3.4.1
4
4
  Summary: Nose adapter for Test IT
5
5
  Home-page: https://github.com/testit-tms/adapters-python/
6
6
  Author: Integration team
@@ -17,7 +17,16 @@ Classifier: Programming Language :: Python :: 3.12
17
17
  Description-Content-Type: text/markdown
18
18
  Requires-Dist: attrs
19
19
  Requires-Dist: nose2
20
- Requires-Dist: testit-python-commons==3.3.2
20
+ Requires-Dist: testit-python-commons==3.4.1
21
+ Dynamic: author
22
+ Dynamic: author-email
23
+ Dynamic: classifier
24
+ Dynamic: description
25
+ Dynamic: description-content-type
26
+ Dynamic: home-page
27
+ Dynamic: license
28
+ Dynamic: requires-dist
29
+ Dynamic: summary
21
30
 
22
31
  # Test IT TMS adapter for Nose
23
32
 
@@ -52,6 +61,7 @@ pip install testit-adapter-nose
52
61
  | It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION |
53
62
  | Mode of automatic creation test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will create a test case linked to the created autotest (not to the updated autotest)<br/>false - in this mode, the adapter will not create a test case | automaticCreationTestCases | TMS_AUTOMATIC_CREATION_TEST_CASES |
54
63
  | Mode of automatic updation links to test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will update links to test cases<br/>false - in this mode, the adapter will not update link to test cases | automaticUpdationLinksToTestCases | TMS_AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES |
64
+ | Mode of import type selection when launching autotests (**It's optional**). Default value - true. The adapter supports following modes:<br/>true - in this mode, the adapter will create/update each autotest in real time<br/>false - in this mode, the adapter will create/update multiple autotests | importRealtime | TMS_IMPORT_REALTIME |
55
65
  | Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY |
56
66
  | Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE |
57
67
 
@@ -70,6 +80,7 @@ adapterMode = ADAPTER_MODE
70
80
  certValidation = CERT_VALIDATION
71
81
  automaticCreationTestCases = AUTOMATIC_CREATION_TEST_CASES
72
82
  automaticUpdationLinksToTestCases = AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
83
+ importRealtime = IMPORT_REALTIME
73
84
 
74
85
  # This section are optional. It enables debug mode.
75
86
  [debug]
@@ -31,6 +31,7 @@ pip install testit-adapter-nose
31
31
  | It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION |
32
32
  | Mode of automatic creation test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will create a test case linked to the created autotest (not to the updated autotest)<br/>false - in this mode, the adapter will not create a test case | automaticCreationTestCases | TMS_AUTOMATIC_CREATION_TEST_CASES |
33
33
  | Mode of automatic updation links to test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will update links to test cases<br/>false - in this mode, the adapter will not update link to test cases | automaticUpdationLinksToTestCases | TMS_AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES |
34
+ | Mode of import type selection when launching autotests (**It's optional**). Default value - true. The adapter supports following modes:<br/>true - in this mode, the adapter will create/update each autotest in real time<br/>false - in this mode, the adapter will create/update multiple autotests | importRealtime | TMS_IMPORT_REALTIME |
34
35
  | Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY |
35
36
  | Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE |
36
37
 
@@ -49,6 +50,7 @@ adapterMode = ADAPTER_MODE
49
50
  certValidation = CERT_VALIDATION
50
51
  automaticCreationTestCases = AUTOMATIC_CREATION_TEST_CASES
51
52
  automaticUpdationLinksToTestCases = AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
53
+ importRealtime = IMPORT_REALTIME
52
54
 
53
55
  # This section are optional. It enables debug mode.
54
56
  [debug]
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='testit-adapter-nose',
5
- version='3.3.2',
5
+ version='3.4.1',
6
6
  description='Nose adapter for Test IT',
7
7
  long_description=open('README.md', "r").read(),
8
8
  long_description_content_type="text/markdown",
@@ -23,7 +23,7 @@ setup(
23
23
  py_modules=['testit_adapter_nose'],
24
24
  packages=find_packages(where='src'),
25
25
  package_dir={'': 'src'},
26
- install_requires=['attrs', 'nose2', 'testit-python-commons==3.3.2'],
26
+ install_requires=['attrs', 'nose2', 'testit-python-commons==3.4.1'],
27
27
  entry_points={
28
28
  'nose.plugins.0.10': [
29
29
  'testit_adapter_nose = testit_adapter_nose.plugin:TmsPlugin',
@@ -22,6 +22,9 @@ class AdapterListener(object):
22
22
 
23
23
  self.__adapter_manager.set_test_run_id(test_run_id)
24
24
 
25
+ def stop_launch(self):
26
+ self.__adapter_manager.write_tests()
27
+
25
28
  def get_tests_for_launch(self):
26
29
  return self.__adapter_manager.get_autotests_for_launch()
27
30
 
@@ -30,6 +30,9 @@ class TmsPlugin(Plugin):
30
30
  self.__listener.start_launch()
31
31
  self.__tests_for_launch = self.__listener.get_tests_for_launch()
32
32
 
33
+ def afterTestRun(self, event):
34
+ self.__listener.stop_launch()
35
+
33
36
  def startTest(self, event):
34
37
  self.__listener.start_test(event.test)
35
38
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: testit-adapter-nose
3
- Version: 3.3.2
3
+ Version: 3.4.1
4
4
  Summary: Nose adapter for Test IT
5
5
  Home-page: https://github.com/testit-tms/adapters-python/
6
6
  Author: Integration team
@@ -17,7 +17,16 @@ Classifier: Programming Language :: Python :: 3.12
17
17
  Description-Content-Type: text/markdown
18
18
  Requires-Dist: attrs
19
19
  Requires-Dist: nose2
20
- Requires-Dist: testit-python-commons==3.3.2
20
+ Requires-Dist: testit-python-commons==3.4.1
21
+ Dynamic: author
22
+ Dynamic: author-email
23
+ Dynamic: classifier
24
+ Dynamic: description
25
+ Dynamic: description-content-type
26
+ Dynamic: home-page
27
+ Dynamic: license
28
+ Dynamic: requires-dist
29
+ Dynamic: summary
21
30
 
22
31
  # Test IT TMS adapter for Nose
23
32
 
@@ -52,6 +61,7 @@ pip install testit-adapter-nose
52
61
  | It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION |
53
62
  | Mode of automatic creation test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will create a test case linked to the created autotest (not to the updated autotest)<br/>false - in this mode, the adapter will not create a test case | automaticCreationTestCases | TMS_AUTOMATIC_CREATION_TEST_CASES |
54
63
  | Mode of automatic updation links to test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will update links to test cases<br/>false - in this mode, the adapter will not update link to test cases | automaticUpdationLinksToTestCases | TMS_AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES |
64
+ | Mode of import type selection when launching autotests (**It's optional**). Default value - true. The adapter supports following modes:<br/>true - in this mode, the adapter will create/update each autotest in real time<br/>false - in this mode, the adapter will create/update multiple autotests | importRealtime | TMS_IMPORT_REALTIME |
55
65
  | Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY |
56
66
  | Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE |
57
67
 
@@ -70,6 +80,7 @@ adapterMode = ADAPTER_MODE
70
80
  certValidation = CERT_VALIDATION
71
81
  automaticCreationTestCases = AUTOMATIC_CREATION_TEST_CASES
72
82
  automaticUpdationLinksToTestCases = AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
83
+ importRealtime = IMPORT_REALTIME
73
84
 
74
85
  # This section are optional. It enables debug mode.
75
86
  [debug]
@@ -0,0 +1,3 @@
1
+ attrs
2
+ nose2
3
+ testit-python-commons==3.4.1
@@ -1,3 +0,0 @@
1
- attrs
2
- nose2
3
- testit-python-commons==3.3.2