diff --git a/README.md b/README.md index 53be1ae7..d2c37a26 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ To ensure the installation or upgrade is successful, you can execute command `at ```text $ ate -V -0.3.2 +0.3.3 ``` Execute the command `ate -h` to view command help. diff --git a/ate/__init__.py b/ate/__init__.py index f37c5faf..03174f4a 100644 --- a/ate/__init__.py +++ b/ate/__init__.py @@ -1 +1 @@ -__version__ = '0.3.2' \ No newline at end of file +__version__ = '0.3.3' \ No newline at end of file diff --git a/ate/cli.py b/ate/cli.py index 49dfa396..5283a763 100644 --- a/ate/cli.py +++ b/ate/cli.py @@ -1,6 +1,7 @@ import argparse import logging import os +from collections import OrderedDict import PyUnitReport from ate import __version__ @@ -64,13 +65,13 @@ def main(): "failfast": args.failfast } result = PyUnitReport.HTMLTestRunner(**kwargs).run(task_suite) - results[testset_path] = { + results[testset_path] = OrderedDict({ "total": result.testsRun, "successes": len(result.successes), "failures": len(result.failures), "errors": len(result.errors), "skipped": len(result.skipped) - } + }) if len(result.successes) != result.testsRun: subject = "FAILED"