Blazemeter / taurus

@@ -62,12 +62,6 @@
Loading
62 62
        self._check_tools(self._tools)
63 63
64 64
    def _add_jar_tool(self, req_tool_class, **kwargs):
65 -
        # todo: it's for backward compatibility only, remove it later
66 -
        if "local_path" in kwargs:
67 -
            local_path = kwargs.pop("local_path")
68 -
            if local_path:
69 -
                kwargs["config"] = BetterDict.from_dict({"config": local_path})
70 -
71 65
        req_tool = self._get_tool(req_tool_class, **kwargs)
72 66
        self._tools.append(req_tool)
73 67
        self.class_path.append(req_tool.tool_path)
@@ -305,7 +299,11 @@
Loading
305 299
    __test__ = False  # Hello, nosetests discovery mechanism
306 300
307 301
    def install_required_tools(self):
308 -
        self._add_jar_tool(TestNG, local_path=self.settings.get("path"))
302 +
        local_path = self.settings.get("path", None)
303 +
        config = {}
304 +
        if local_path:
305 +
            config = BetterDict.from_dict({"config": local_path})
306 +
        self._add_jar_tool(TestNG, config=config)
309 307
        super(TestNGTester, self).install_required_tools()
310 308
311 309
    def detected_testng_xml(self):

@@ -415,7 +415,7 @@
Loading
415 415
        :type xunit: XUnitFileWriter
416 416
        """
417 417
        xunit.report_test_suite('bzt_pass_fail')
418 -
        mods = self.engine.reporters + self.engine.services # TODO: remove it after passfail is only reporter
418 +
        mods = self.engine.reporters
419 419
        pass_fail_objects = [_x for _x in mods if isinstance(_x, PassFailStatus)]
420 420
        self.log.debug("Processing passfail objects: %s", pass_fail_objects)
421 421
        fail_criteria = []
Files Coverage
bzt 90.26%
Project Totals (68 files) 90.26%
9789.2
TRAVIS_PYTHON_VERSION=3.8
TRAVIS_OS_NAME=linux
1
codecov:
2
  notify:
3
    require_ci_to_pass: yes
4

5
coverage:
6
  round: up
7

8
ignore:
9
  - bzt/resources
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading