@testomatio/reporter 0.6.10 → 0.7.0-beta

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.
Files changed (60) hide show
  1. package/Changelog.md +5 -0
  2. package/README.md +16 -7
  3. package/lib/adapter/codecept.js +1 -1
  4. package/lib/adapter/cucumber/current.js +185 -0
  5. package/lib/adapter/cucumber/legacy.js +136 -0
  6. package/lib/adapter/cucumber.js +15 -135
  7. package/lib/adapter/cypress-plugin/index.js +4 -1
  8. package/lib/adapter/mocha.js +1 -0
  9. package/lib/adapter/webdriver.js +1 -0
  10. package/lib/junit-adapter/csharp.js +18 -0
  11. package/lib/xmlReader.js +71 -3
  12. package/package.json +12 -9
  13. package/testcafe/package-lock.json +863 -0
  14. package/testcafe/package.json +1 -1
  15. package/.eslintrc.js +0 -35
  16. package/.github/workflows/node.js.yml +0 -30
  17. package/.prettierrc.js +0 -12
  18. package/example/codecept/codecept.conf.js +0 -29
  19. package/example/codecept/index_test.js +0 -10
  20. package/example/codecept/jsconfig.json +0 -5
  21. package/example/codecept/sample_test.js +0 -6
  22. package/example/codecept/steps.d.ts +0 -16
  23. package/example/codecept/steps_file.js +0 -10
  24. package/example/core/index.js +0 -15
  25. package/example/jest/index.test.js +0 -9
  26. package/example/jest/jest.config.js +0 -188
  27. package/example/jest/package.json +0 -13
  28. package/example/jest/sample.test.js +0 -13
  29. package/example/jest/yarn.lock +0 -8
  30. package/example/mocha/test/index.test.js +0 -13
  31. package/tests/adapter/config/index.js +0 -10
  32. package/tests/adapter/examples/codecept/codecept.conf.js +0 -33
  33. package/tests/adapter/examples/codecept/index_test.js +0 -11
  34. package/tests/adapter/examples/codecept/jsconfig.json +0 -5
  35. package/tests/adapter/examples/codecept/output/Test_for_suite_2_@Tc2171bd2.failed.png +0 -0
  36. package/tests/adapter/examples/codecept/output/Test_issue_for_suite_1_@Tca70c8c4.failed.png +0 -0
  37. package/tests/adapter/examples/codecept/sample_test.js +0 -7
  38. package/tests/adapter/examples/codecept/steps_file.js +0 -10
  39. package/tests/adapter/examples/jasmine/index.test.js +0 -11
  40. package/tests/adapter/examples/jasmine/passReporterOpts.sh +0 -8
  41. package/tests/adapter/examples/jest/index.test.js +0 -11
  42. package/tests/adapter/examples/jest/jest.config.js +0 -4
  43. package/tests/adapter/examples/mocha/index.test.js +0 -13
  44. package/tests/adapter/examples/mocha/mocha.config.js +0 -4
  45. package/tests/adapter/index.test.js +0 -136
  46. package/tests/adapter/utils/index.js +0 -40
  47. package/tests/data/artifacts/failed_test.png +0 -0
  48. package/tests/data/artifacts/screenshot1.png +0 -0
  49. package/tests/data/cli/RunCest.php +0 -1024
  50. package/tests/data/cli/SnapshotCest.php +0 -97
  51. package/tests/data/codecept.xml +0 -150
  52. package/tests/data/codecept2.xml +0 -25
  53. package/tests/data/java.xml +0 -25
  54. package/tests/data/junit1.xml +0 -70
  55. package/tests/data/minitest.xml +0 -25
  56. package/tests/data/phpunit.xml +0 -65
  57. package/tests/data/pytest.xml +0 -13
  58. package/tests/data/src/services/search_service_test.rb +0 -146
  59. package/tests/util_test.js +0 -51
  60. package/tests/xmlReader_test.js +0 -232
@@ -1,97 +0,0 @@
1
- <?php
2
-
3
- declare(strict_types=1);
4
-
5
- use Codeception\Attribute\Before;
6
- use Codeception\Attribute\Group;
7
-
8
- final class SnapshotCest
9
- {
10
- public function _openSnapshotSuite(CliGuy $I)
11
- {
12
- $I->amInPath('tests/data/snapshots');
13
- }
14
-
15
- #[Before('_openSnapshotSuite')]
16
- public function runAllSnapshotTests(CliGuy $I)
17
- {
18
- $I->executeCommand('run tests/SnapshotDataCest.php');
19
- $I->seeInShellOutput('OK (3 tests');
20
- $I->seeInShellOutput('Load snapshot and skip refresh');
21
- $I->seeInShellOutput('Load snapshot and refresh');
22
- }
23
-
24
- #[Group('user')]
25
- #[Before('_openSnapshotSuite')]
26
- public function runSnapshotRefresh(CliGuy $I)
27
- {
28
- $I->executeCommand('run tests/SnapshotDataCest.php:loadSnapshotAndRefresh --debug --no-colors');
29
- $I->seeInShellOutput('Snapshot\UserSnapshot: assert');
30
- $I->seeInShellOutput('I grab column from database');
31
- $I->seeInShellOutput('Snapshot assertion failed');
32
- $I->seeInShellOutput('Snapshot data updated');
33
- }
34
-
35
- #[Before('_openSnapshotSuite')]
36
- public function runSnapshotRefreshFail(CliGuy $I)
37
- {
38
- $I->executeCommand('run tests/SnapshotDataCest.php:loadSnapshotAndSkipRefresh --debug --no-colors');
39
- $I->seeInShellOutput('Snapshot\UserSnapshot: assert');
40
- $I->seeInShellOutput('I grab column from database');
41
- $I->seeInShellOutput('Snapshot assertion failed');
42
- $I->dontSeeInShellOutput('Snapshot data updated');
43
- }
44
-
45
- #[Before('_openSnapshotSuite')]
46
- public function runSnapshotDiffDisplay(CliGuy $I)
47
- {
48
- $I->executeCommand('run tests/SnapshotDisplayDiffCest.php');
49
- $I->seeInShellOutput('OK (1 test');
50
- }
51
-
52
- #[Before('_openSnapshotSuite')]
53
- public function loadSnapshotInDebugAndFailOnProd(CliGuy $I)
54
- {
55
- $I->executeCommand('run tests/SnapshotFailCest.php --debug');
56
- $I->seeInShellOutput('PASSED');
57
- $I->executeCommand('run tests/SnapshotFailCest.php --no-exit');
58
- $I->seeInShellOutput('FAILURES');
59
- $I->seeInShellOutput('Snapshot doesn\'t match real data');
60
- }
61
-
62
- public function generateGlobalSnapshot(CliGuy\GeneratorSteps $I)
63
- {
64
- $I->amInPath('tests/data/sandbox');
65
- $I->executeCommand('generate:snapshot Login');
66
- $I->seeFileWithGeneratedClass('Login', 'tests/_support/Snapshot');
67
- $I->dontSeeInThisFile('public function __construct(\DumbGuy $I)');
68
- }
69
-
70
- public function generateSuiteSnapshot(CliGuy\GeneratorSteps $I)
71
- {
72
- $I->amInPath('tests/data/sandbox');
73
- $I->executeCommand('generate:snapshot dummy Login');
74
- $I->seeFileWithGeneratedClass('Login', 'tests/_support/Snapshot/Dummy');
75
- $I->seeInThisFile('namespace Snapshot\\Dummy;');
76
- $I->seeInThisFile('class Login');
77
- $I->seeInThisFile('protected $dumbGuy;');
78
- $I->seeInThisFile('public function __construct(\DumbGuy $I)');
79
- }
80
-
81
- public function generateGlobalSnapshotInDifferentPath(CliGuy\GeneratorSteps $I)
82
- {
83
- $I->executeCommand('generate:snapshot Login -c tests/data/sandbox');
84
- $I->amInPath('tests/data/sandbox');
85
- $I->seeFileWithGeneratedClass('Login', 'tests/_support/Snapshot');
86
- $I->dontSeeInThisFile('public function __construct(\DumbGuy $I)');
87
- }
88
-
89
- #[Before('_openSnapshotSuite')]
90
- public function runNonJsonContentSnapshotTests(CliGuy $I)
91
- {
92
- $I->executeCommand('run tests/SnapshotNonJsonDataCest.php');
93
- $I->seeInShellOutput('OK (3 tests');
94
- $I->seeInShellOutput('Load snapshot and skip refresh');
95
- $I->seeInShellOutput('Load snapshot and refresh');
96
- }
97
- }
@@ -1,150 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites>
3
- <testsuite name="cli" tests="89" assertions="881" errors="0" failures="10" skipped="2" useless="0" time="20.333714">
4
-
5
- <testcase name="runCestWithTwoFailedTest" class="RunCest" file="tests/data/cli/RunCest.php" feature="run cest with two failed test" time="0.119537" assertions="4"/>
6
- <testcase name="runHtml" class="RunCest" file="tests/data/cli/RunCest.php" feature="execute tests with html output" time="0.116880" assertions="1"/>
7
- <testcase name="runTestWithArrayExamples" class="RunCest" file="tests/data/cli/RunCest.php" feature="run test with array examples" time="0.096469" assertions="4"/>
8
- <testcase name="throwErrorIfBootstrapNotFound" class="RunCest" file="tests/data/cli/RunCest.php" feature="execute one test" time="0.078476" assertions="3"/>
9
- <testcase name="runOneFile" class="RunCest" file="tests/data/cli/RunCest.php" feature="execute one test" time="0.082889" assertions="1"/>
10
- <testcase name="runOneGroupByAttr" class="RunCest" file="tests/data/cli/RunCest.php" feature="run one group by attr" time="0.105880" assertions="2"/>
11
- <testcase name="runOneGroupWithDataProviders" class="RunCest" file="tests/data/cli/RunCest.php" feature="run one group with data providers" time="0.107412" assertions="5"/>
12
- <testcase name="filterCestsByDataProviderNumber" class="RunCest" file="tests/data/cli/RunCest.php" feature="filter cests by data provider number" time="0.087259" assertions="4"/>
13
- <testcase name="runGherkinTest" class="RunCest" file="tests/data/cli/RunCest.php" feature="run gherkin test" time="0.107440" assertions="7"/>
14
- <testcase name="runTestWithSubSteps" class="RunCest" file="tests/data/cli/RunCest.php" feature="run test with sub steps" time="0.000815" assertions="0">
15
- <skipped/>
16
- </testcase>
17
- <testcase name="runWithDepends" class="RunCest" file="tests/data/cli/RunCest.php" feature="run with depends" time="0.083950" assertions="1"/>
18
- <testcase name="runTestsByShards" class="RunCest" file="tests/data/cli/RunCest.php" feature="run tests by shards" time="0.273580" assertions="9"/>
19
- <testcase name="runErrorTest" class="RunCest" file="tests/data/cli/RunCest.php" feature="run error test" time="0.098815" assertions="3"/>
20
- <testcase name="runOneFileWithColors" class="RunCest" file="tests/data/cli/RunCest.php" feature="execute one test" time="0.084870" assertions="2"/>
21
- <testcase name="runTestsDoesntFail" class="RunCest" file="tests/data/cli/RunCest.php" feature="run tests doesnt fail" time="0.089660" assertions="1"/>
22
- <testcase name="filterCestsByExampleNumber" class="RunCest" file="tests/data/cli/RunCest.php" feature="filter cests by example number" time="0.099362" assertions="5"/>
23
- <testcase name="runTestWithAnnotationExamples" class="RunCest" file="tests/data/cli/RunCest.php" feature="run test with annotation examples" time="0.082711" assertions="4"/>
24
- <testcase name="runDependentCest" class="RunCest" file="tests/data/cli/RunCest.php" feature="run dependent cest" time="0.081131" assertions="1"/>
25
- <testcase name="runTestWithAnnotationDataprovider" class="RunCest" file="tests/data/cli/RunCest.php" feature="run test with annotation dataprovider" time="0.160254" assertions="1"/>
26
- <testcase name="runGherkinScenarioWithMultipleStepDefinitions" class="RunCest" file="tests/data/cli/RunCest.php" feature="run gherkin scenario with multiple step definitions" time="0.088234" assertions="4"/>
27
- <testcase name="runOneGroup" class="RunCest" file="tests/data/cli/RunCest.php" feature="run one group" time="0.076610" assertions="3"/>
28
- <testcase name="runTestsWithFilterDoesntFail" class="RunCest" file="tests/data/cli/RunCest.php" feature="run tests with filter doesnt fail" time="0.159520" assertions="2"/>
29
- <testcase name="runTestWithJsonExamples" class="RunCest" file="tests/data/cli/RunCest.php" feature="run test with json examples" time="0.082773" assertions="4"/>
30
- <testcase name="runWithBeforeAfter" class="RunCest" file="tests/data/cli/RunCest.php" feature="run with before after" time="0.078491" assertions="4"/>
31
- <testcase name="skipGroupOfCest" class="RunCest" file="tests/data/cli/RunCest.php" feature="skip group of cest" time="0.170683" assertions="5"/>
32
- <testcase name="testsWithConditionalFails" class="RunCest" file="tests/data/cli/RunCest.php" feature="tests with conditional fails" time="0.097338" assertions="4"/>
33
- <testcase name="runWithUnitSkipped" class="RunCest" file="tests/data/cli/RunCest.php" feature="run with unit skipped" time="0.097461" assertions="1"/>
34
- <testcase name="runHtmlCheckReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="verify that all steps are rendered correctly in HTML report (' . $test . ') | &quot;CodeceptionIssue4413Cest:twoCommentStepsInARow&quot;" time="0.073369" assertions="2"/>
35
- <testcase name="runHtmlCheckReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="verify that all steps are rendered correctly in HTML report (' . $test . ') | &quot;CodeceptionIssue4413Cest:twoCommentStepsInARowViaPageObjectActor&quot;" time="0.072299" assertions="2"/>
36
- <testcase name="runHtmlCheckReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="verify that all steps are rendered correctly in HTML report (' . $test . ') | &quot;CodeceptionIssue4413Cest:twoCommentStepsWithOneSubStepInBetween&quot;" time="0.096977" assertions="2"/>
37
- <testcase name="runHtmlCheckReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="verify that all steps are rendered correctly in HTML report (' . $test . ') | &quot;CodeceptionIssue4413Cest:commentStepsWithDifferentSubStepsInBetweenAndAfter&quot;" time="0.076719" assertions="2"/>
38
- <testcase name="runHtmlCheckReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="verify that all steps are rendered correctly in HTML report (' . $test . ') | &quot;CodeceptionIssue4413Cest:differentSubSteps&quot;" time="0.075144" assertions="2"/>
39
- <testcase name="runHtmlCheckReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="verify that all steps are rendered correctly in HTML report (' . $test . ') | &quot;CodeceptionIssue4413Cest:commentStepsWithDifferentSubStepsOnceNestedInBetweenAndAfter&quot;" time="0.092805" assertions="2"/>
40
- <testcase name="runHtmlCheckReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="verify that all steps are rendered correctly in HTML report (' . $test . ') | &quot;CodeceptionIssue4413Cest:commentStepsWithDifferentSubStepsOnceNestedInBetweenAndAfter2&quot;" time="0.098153" assertions="2"/>
41
- <testcase name="runHtmlCheckReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="verify that all steps are rendered correctly in HTML report (' . $test . ') | &quot;CodeceptionIssue4413Cest:nestedSubStepFollowedByOtherSubStep&quot;" time="0.078239" assertions="2"/>
42
- <testcase name="runHtmlCheckReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="verify that all steps are rendered correctly in HTML report (' . $test . ') | &quot;CodeceptionIssue4413Cest:nestedSubStepFollowedByOtherSubStep2&quot;" time="0.095552" assertions="2"/>
43
- <testcase name="runHtmlCheckReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="verify that all steps are rendered correctly in HTML report (' . $test . ') | &quot;CodeceptionIssue4413Cest:twoIdentialSubStepsInARow&quot;" time="0.077251" assertions="2"/>
44
- <testcase name="runHtmlCheckReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="verify that all steps are rendered correctly in HTML report (' . $test . ') | &quot;CodeceptionIssue4413Cest:twoIdentialSubStepsInARowFollowedByAnotherSubStep&quot;" time="0.078100" assertions="2"/>
45
- <testcase name="runHtmlCheckReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="verify that all steps are rendered correctly in HTML report (' . $test . ') | &quot;CodeceptionIssue4413Cest:twoIdentialSubStepsWithAnotherSubStepInBetween&quot;" time="0.096649" assertions="2"/>
46
- <testcase name="runHtmlCheckReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="verify that all steps are rendered correctly in HTML report (' . $test . ') | &quot;CodeceptionIssue4413Cest:subStepFollowedByTwoIdentialSubSteps&quot;" time="0.097845" assertions="2"/>
47
- <testcase name="runTestsWithSteps" class="RunCest" file="tests/data/cli/RunCest.php" feature="run tests with steps" time="0.097513" assertions="1"/>
48
- <testcase name="runWithDataprovider" class="RunCest" file="tests/data/cli/RunCest.php" feature="run with dataprovider" time="0.101674" assertions="1"/>
49
- <testcase name="runXmlReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="check xml reports" time="0.100334" assertions="5"/>
50
- <testcase name="runTestsWithGrep" class="RunCest" file="tests/data/cli/RunCest.php" feature="run tests with grep" time="0.177239" assertions="3"/>
51
- <testcase name="runHtmlWithPhpBrowserCheckReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="execute tests with PhpBrowser with html output and check html" time="0.282488" assertions="5"/>
52
- <testcase name="skipRunOneGroup" class="RunCest" file="tests/data/cli/RunCest.php" feature="skip run one group" time="0.098319" assertions="3"/>
53
- <testcase name="runTestsWithFilter" class="RunCest" file="tests/data/cli/RunCest.php" feature="run tests with filter" time="0.086682" assertions="2"/>
54
- <testcase name="runGherkinScenarioOutline" class="RunCest" file="tests/data/cli/RunCest.php" feature="run gherkin scenario outline" time="0.103988" assertions="1"/>
55
- <testcase name="runTestsWithDependencyInjections" class="RunCest" file="tests/data/cli/RunCest.php" feature="run tests with dependency injections" time="0.080304" assertions="7"/>
56
- <testcase name="runWithExamples" class="RunCest" file="tests/data/cli/RunCest.php" feature="run with examples" time="0.100186" assertions="1"/>
57
- <testcase name="runPhpUnitXmlReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="check phpunit xml reports" time="0.101651" assertions="10"/>
58
- <testcase name="runInvalidDataProvider" class="RunCest" file="tests/data/cli/RunCest.php" feature="run invalid data provider" time="0.111115" assertions="4"/>
59
- <testcase name="runTestWithDataProviders" class="RunCest" file="tests/data/cli/RunCest.php" feature="run test with data providers" time="0.095058" assertions="5"/>
60
- <testcase name="runFailingGherkinTest" class="RunCest" file="tests/data/cli/RunCest.php" feature="run failing gherkin test" time="0.076423" assertions="2"/>
61
- <testcase name="showSameOrderOfFilesOnSeed" class="RunCest" file="tests/data/cli/RunCest.php" feature="show same order of files on seed" time="0.306368" assertions="3"/>
62
- <testcase name="runWithUnitIncomplete" class="RunCest" file="tests/data/cli/RunCest.php" feature="run with unit incomplete" time="0.097535" assertions="1"/>
63
- <testcase name="showSeedNumberOnShuffle" class="RunCest" file="tests/data/cli/RunCest.php" feature="show seed number on shuffle" time="0.223366" assertions="2"/>
64
- <testcase name="filterTestsByDataProviderCaseNumber" class="RunCest" file="tests/data/cli/RunCest.php" feature="filter tests by data provider case number" time="0.100420" assertions="5"/>
65
- <testcase name="runTwoSuites" class="RunCest" file="tests/data/cli/RunCest.php" feature="run two suites" time="0.098478" assertions="3"/>
66
- <testcase name="runCustomBootstrap" class="RunCest" file="tests/data/cli/RunCest.php" feature="execute one test" time="0.095968" assertions="3"/>
67
- <testcase name="runOneTestFromCest" class="RunCest" file="tests/data/cli/RunCest.php" feature="run one test from cest" time="0.073993" assertions="2"/>
68
- <testcase name="runTestWithFailedScenario" class="RunCest" file="tests/data/cli/RunCest.php" feature="run test with failed scenario" time="0.000200" assertions="0">
69
- <skipped/>
70
- </testcase>
71
- <testcase name="runPhpUnitXmlReportsInStrictMode" class="RunCest" file="tests/data/cli/RunCest.php" feature="check phpunit xml in strict mode" time="0.080945" assertions="10"/>
72
- <testcase name="runBootstrapInGlobalConfig" class="RunCest" file="tests/data/cli/RunCest.php" feature="execute one test" time="0.099138" assertions="3"/>
73
- <testcase name="reportersConfigurationSectionIsNotSupported" class="RunCest" file="tests/data/cli/RunCest.php" feature="reporters configuration section is not supported" time="0.200293" assertions="3"/>
74
- <testcase name="runFailedTestAndCheckOutput" class="RunCest" file="tests/data/cli/RunCest.php" feature="run failed test and check output" time="0.092119" assertions="4"/>
75
- <testcase name="runTestWithFailFastDefault" class="RunCest" file="tests/data/cli/RunCest.php" feature="run test with fail fast default" time="0.193308" assertions="4"/>
76
- <testcase name="runTestWithComplexExample" class="RunCest" file="tests/data/cli/RunCest.php" feature="run test with complex example" time="0.084370" assertions="5"/>
77
- <testcase name="runTestWithAnnotationExamplesFromGroupFileTest" class="RunCest" file="tests/data/cli/RunCest.php" feature="run test with annotation examples from group file test" time="0.091098" assertions="1"/>
78
- <testcase name="filterTestsByDataProviderCaseNumberRange" class="RunCest" file="tests/data/cli/RunCest.php" feature="filter tests by data provider case number range" time="0.074344" assertions="5"/>
79
- <testcase name="runSuiteWhenNameMatchesExistingDirectory" class="RunCest" file="tests/data/cli/RunCest.php" feature="run suite when name matches existing directory" time="0.069087" assertions="1"/>
80
- <testcase name="runBootstrapInSuiteConfig" class="RunCest" file="tests/data/cli/RunCest.php" feature="execute one test" time="0.080465" assertions="3"/>
81
- <testcase name="runOneTestFromUnit" class="RunCest" file="tests/data/cli/RunCest.php" feature="run one test from unit" time="0.083712" assertions="3"/>
82
- <testcase name="reportsCorrectFailedStep" class="RunCest" file="tests/data/cli/RunCest.php" feature="reports correct failed step" time="0.083000" assertions="2"/>
83
- <testcase name="overrideModuleOptions" class="RunCest" file="tests/data/cli/RunCest.php" feature="override module options" time="0.166803" assertions="2"/>
84
- <testcase name="runTestWithException" class="RunCest" file="tests/data/cli/RunCest.php" feature="run test with exception" time="0.087845" assertions="4"/>
85
- <testcase name="runWithCustomOutputPath" class="RunCest" file="tests/data/cli/RunCest.php" feature="run with custom output path" time="0.085757" assertions="7"/>
86
- <testcase name="filterTestsByDataProviderCaseName" class="RunCest" file="tests/data/cli/RunCest.php" feature="filter tests by data provider case name" time="0.092092" assertions="5"/>
87
- <testcase name="filterTestsWithoutSpecifyingSuite" class="RunCest" file="tests/data/cli/RunCest.php" feature="filter tests without specifying suite" time="0.075297" assertions="1"/>
88
- <testcase name="runXmlReportsInStrictMode" class="RunCest" file="tests/data/cli/RunCest.php" feature="check xml in strict mode" time="0.084044" assertions="5"/>
89
- <testcase name="runCustomReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="run custom report" time="0.080532" assertions="2"/>
90
- <testcase name="runDependentTest" class="RunCest" file="tests/data/cli/RunCest.php" feature="run dependent test" time="0.178287" assertions="2"/>
91
- <testcase name="runTestWithFailFastCustom" class="RunCest" file="tests/data/cli/RunCest.php" feature="run test with fail fast custom" time="0.168278" assertions="2"/>
92
- <testcase name="runTestWithCustomSetupMethod" class="RunCest" file="tests/data/cli/RunCest.php" feature="run test with custom setup method" time="0.083309" assertions="1"/>
93
- <testcase name="runCompactReport" class="RunCest" file="tests/data/cli/RunCest.php" feature="run compact report" time="0.074003" assertions="1"/>
94
- <testcase name="skipSuites" class="RunCest" file="tests/data/cli/RunCest.php" feature="skip suites" time="0.064021" assertions="4"/>
95
- <testcase name="runAllSnapshotTests" class="SnapshotCest" file="tests/data/cli/SnapshotCest.php" feature="run all snapshot tests" time="0.058300" assertions="1">
96
- <failure type="PHPUnit\Framework\AssertionFailedError">SnapshotCest: Run all snapshot tests
97
- Result code was 1.
98
-
99
- Codeception PHP Testing Framework v5.0.0-RC3 https://helpukrainewin.org
100
- Powered by PHPUnit 9.5.20 #StandWithUkraine
101
-
102
- tests/data/support/CliHelper.php:28
103
- tests/data/support/_generated/CliGuyActions.php:559
104
- tests/data/cli/SnapshotCest.php:18
105
- /home/davert/projects/Codeception/src/PHPUnit/Wrapper/PhpUnit9/Test.php:15
106
- /home/davert/projects/Codeception/src/PHPUnit/Wrapper/PhpUnit9/TestSuite.php:14
107
- /home/davert/projects/Codeception/app.php:45
108
- /home/davert/projects/Codeception/app.php:46
109
- /home/davert/projects/Codeception/codecept:7
110
- </failure>
111
- </testcase>
112
- <testcase name="runSnapshotRefreshFail" class="SnapshotCest" file="tests/data/cli/SnapshotCest.php" feature="run snapshot refresh fail" time="0.065523" assertions="1">
113
- <failure type="PHPUnit\Framework\AssertionFailedError">SnapshotCest: Run snapshot refresh fail
114
- Result code was 1.
115
-
116
- Codeception PHP Testing Framework v5.0.0-RC3 https://helpukrainewin.org
117
- Powered by PHPUnit 9.5.20 #StandWithUkraine
118
-
119
- [Connecting To Db] {"config":{"populate":false,"cleanup":false,"reconnect":false,"waitlock":0,"dump":null,"populator":null,"skip_cleanup_if_failed":false,"dsn":"sqlite:tests/_data/snapshot_test.db","user":"","password":""},"options":[]}
120
- [Db] Disconnected from default
121
-
122
- tests/data/support/CliHelper.php:28
123
- tests/data/support/_generated/CliGuyActions.php:559
124
- tests/data/cli/SnapshotCest.php:38
125
- /home/davert/projects/Codeception/src/PHPUnit/Wrapper/PhpUnit9/Test.php:15
126
- /home/davert/projects/Codeception/src/PHPUnit/Wrapper/PhpUnit9/TestSuite.php:14
127
- /home/davert/projects/Codeception/app.php:45
128
- /home/davert/projects/Codeception/app.php:46
129
- /home/davert/projects/Codeception/codecept:7
130
- </failure>
131
- </testcase>
132
- <testcase name="runNonJsonContentSnapshotTests" class="SnapshotCest" file="tests/data/cli/SnapshotCest.php" feature="run non json content snapshot tests" time="0.067662" assertions="1">
133
- <failure type="PHPUnit\Framework\AssertionFailedError">SnapshotCest: Run non json content snapshot tests
134
- Result code was 1.
135
-
136
- Codeception PHP Testing Framework v5.0.0-RC3 https://helpukrainewin.org
137
- Powered by PHPUnit 9.5.20 #StandWithUkraine
138
-
139
- tests/data/support/CliHelper.php:28
140
- tests/data/support/_generated/CliGuyActions.php:559
141
- tests/data/cli/SnapshotCest.php:92
142
- /home/davert/projects/Codeception/src/PHPUnit/Wrapper/PhpUnit9/Test.php:15
143
- /home/davert/projects/Codeception/src/PHPUnit/Wrapper/PhpUnit9/TestSuite.php:14
144
- /home/davert/projects/Codeception/app.php:45
145
- /home/davert/projects/Codeception/app.php:46
146
- /home/davert/projects/Codeception/codecept:7
147
- </failure>
148
- </testcase>
149
- </testsuite>
150
- </testsuites>
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites>
3
- <testsuite name="cli" tests="2" assertions="881" errors="0" failures="10" skipped="2" useless="0" time="20.333714">
4
-
5
- <testcase name="runCompactReport" class="RunCest" file="/home/davert/projects/Codeception/tests/cli/RunCest.php" feature="run compact report" time="0.074003" assertions="1"/>
6
- <testcase name="runAllSnapshotTests" class="SnapshotCest" file="tests/data/cli/SnapshotCest.php" feature="run all snapshot tests" time="0.058300" assertions="1">
7
- <failure type="PHPUnit\Framework\AssertionFailedError">SnapshotCest: Run all snapshot tests
8
- Result code was 1.
9
-
10
- Codeception PHP Testing Framework v5.0.0-RC3 https://helpukrainewin.org
11
- Powered by PHPUnit 9.5.20 #StandWithUkraine
12
-
13
- tests/data/support/CliHelper.php:28
14
- tests/data/support/_generated/CliGuyActions.php:559
15
- tests/data/cli/SnapshotCest.php:18
16
- /home/davert/projects/Codeception/src/PHPUnit/Wrapper/PhpUnit9/Test.php:15
17
- /home/davert/projects/Codeception/src/PHPUnit/Wrapper/PhpUnit9/TestSuite.php:14
18
- /home/davert/projects/Codeception/app.php:45
19
- /home/davert/projects/Codeception/app.php:46
20
- /home/davert/projects/Codeception/codecept:7
21
- </failure>
22
- </testcase>
23
-
24
- </testsuite>
25
- </testsuites>
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="unit.tests.CalculatorTest" time="0.094" tests="6" errors="0" skipped="0" failures="2">
3
- <properties>
4
- <property name="java.version" value="11.0.15"/>
5
- <property name="sun.desktop" value="gnome"/>
6
- <property name="java.class.version" value="55.0"/>
7
- </properties>
8
- <testcase name="sumTest" classname="unit.tests.CalculatorTest" time="0.018"/>
9
- <testcase name="divisionTest" classname="unit.tests.CalculatorTest" time="0.006">
10
- <failure type="org.opentest4j.AssertionFailedError"><![CDATA[org.opentest4j.AssertionFailedError: expected: <5.0> but was: <5.5>
11
- at unit.tests.CalculatorTest.divisionTest(CalculatorTest.java:43)
12
- ]]></failure>
13
- </testcase>
14
- <testcase name="multiplicationTest" classname="unit.tests.CalculatorTest" time="0.002"/>
15
- <testcase name="divisionTestBoyZer" classname="unit.tests.CalculatorTest" time="0.003"/>
16
- <testcase name="subtractTest" classname="unit.tests.CalculatorTest" time="0.002"/>
17
- <testcase name="sumTestHamcrest" classname="unit.tests.CalculatorTest" time="0.005">
18
- <failure type="java.lang.AssertionError"><![CDATA[java.lang.AssertionError:
19
-
20
- Expected: <4.0>
21
- but: was <6.0>
22
- at unit.tests.CalculatorTest.sumTestHamcrest(CalculatorTest.java:26)
23
- ]]></failure>
24
- </testcase>
25
- </testsuite>
@@ -1,70 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites name="jest tests" tests="13" failures="2" errors="0" time="1.773">
3
- <testsuite name="Goat Latin" errors="0" failures="0" skipped="0" timestamp="2022-04-26T12:21:54" time="1.276" tests="1">
4
- <testcase classname="Goat Latin It should return Goat Latin value" name="Goat Latin It should return Goat Latin value" time="0.004">
5
- </testcase>
6
- </testsuite>
7
- <testsuite name="FizzBuzz" errors="0" failures="0" skipped="0" timestamp="2022-04-26T12:21:54" time="1.291" tests="1">
8
- <testcase classname="FizzBuzz It should return FizBuzz array" name="FizzBuzz It should return FizBuzz array" time="0.006">
9
- </testcase>
10
- </testsuite>
11
- <testsuite name="Group People" errors="0" failures="0" skipped="0" timestamp="2022-04-26T12:21:54" time="1.292" tests="1">
12
- <testcase classname="Group People Should return correct group people" name="Group People Should return correct group people" time="0.005">
13
- </testcase>
14
- </testsuite>
15
- <testsuite name="Should find duplicate" errors="0" failures="1" skipped="0" timestamp="2022-04-26T12:21:54" time="1.307" tests="1">
16
- <testcase classname="Should find duplicate Should return duplicate array from an array" name="Should find duplicate Should return duplicate array from an array" time="0.003">
17
- <failure>Error: Fail
18
- at Object.&lt;anonymous&gt; (/home/davert/projects/testomatio/examples/jest/Algorithms/find-all-duplicates/findDuplicate.test.js:5:36)
19
- at Object.asyncJestTest (/home/davert/projects/testomatio/examples/jest/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:102:37)
20
- at /home/davert/projects/testomatio/examples/jest/node_modules/jest-jasmine2/build/queueRunner.js:43:12
21
- at new Promise (&lt;anonymous&gt;)
22
- at mapper (/home/davert/projects/testomatio/examples/jest/node_modules/jest-jasmine2/build/queueRunner.js:26:19)
23
- at /home/davert/projects/testomatio/examples/jest/node_modules/jest-jasmine2/build/queueRunner.js:73:41
24
- at processTicksAndRejections (internal/process/task_queues.js:95:5)</failure>
25
- </testcase>
26
- </testsuite>
27
- <testsuite name="Convert Excel title" errors="0" failures="0" skipped="0" timestamp="2022-04-26T12:21:54" time="1.318" tests="1">
28
- <testcase classname="Convert Excel title Should convert number to excel title" name="Convert Excel title Should convert number to excel title" time="0.006">
29
- </testcase>
30
- </testsuite>
31
- <testsuite name="It should find the container with most water" errors="0" failures="0" skipped="0" timestamp="2022-04-26T12:21:54" time="1.309" tests="1">
32
- <testcase classname="It should find the container with most water It should return container with most water" name="It should find the container with most water It should return container with most water" time="0.005">
33
- </testcase>
34
- </testsuite>
35
- <testsuite name="Flight booking" errors="0" failures="0" skipped="0" timestamp="2022-04-26T12:21:54" time="1.325" tests="1">
36
- <testcase classname="Flight booking It should book the flight" name="Flight booking It should book the flight" time="0.004">
37
- </testcase>
38
- </testsuite>
39
- <testsuite name="Hello" errors="0" failures="0" skipped="0" timestamp="2022-04-26T12:21:54" time="1.291" tests="1">
40
- <testcase classname="Hello Should say hello with passed parameter" name="Hello Should say hello with passed parameter" time="0.005">
41
- </testcase>
42
- </testsuite>
43
- <testsuite name="Find the Duplicate Number" errors="0" failures="1" skipped="0" timestamp="2022-04-26T12:21:54" time="1.323" tests="1">
44
- <testcase classname="Find the Duplicate Number It should return duplicate number from an array" name="Find the Duplicate Number It should return duplicate number from an array" time="0.007">
45
- <failure>Error: expect(received).toStrictEqual(expected) // deep equality
46
-
47
- Expected: 1000
48
- Received: 2
49
- at Object.&lt;anonymous&gt; (/home/davert/projects/testomatio/examples/jest/Algorithms/find-duplicate/findDuplicate.test.js:5:44)
50
- at Object.asyncJestTest (/home/davert/projects/testomatio/examples/jest/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:102:37)
51
- at /home/davert/projects/testomatio/examples/jest/node_modules/jest-jasmine2/build/queueRunner.js:43:12
52
- at new Promise (&lt;anonymous&gt;)
53
- at mapper (/home/davert/projects/testomatio/examples/jest/node_modules/jest-jasmine2/build/queueRunner.js:26:19)
54
- at /home/davert/projects/testomatio/examples/jest/node_modules/jest-jasmine2/build/queueRunner.js:73:41
55
- at processTicksAndRejections (internal/process/task_queues.js:95:5)</failure>
56
- </testcase>
57
- </testsuite>
58
- <testsuite name="animalSort" errors="0" failures="0" skipped="0" timestamp="2022-04-26T12:21:54" time="1.332" tests="3">
59
- <testcase classname="animalSort should return empty array if empty animal array is passed in" name="animalSort should return empty array if empty animal array is passed in" time="0.004">
60
- </testcase>
61
- <testcase classname="animalSort should return a sorted array of animal objects by their number of legs" name="animalSort should return a sorted array of animal objects by their number of legs" time="0.001">
62
- </testcase>
63
- <testcase classname="animalSort should also return sorted names of animals with same number of legs" name="animalSort should also return sorted names of animals with same number of legs" time="0">
64
- </testcase>
65
- </testsuite>
66
- <testsuite name="Can place flowers" errors="0" failures="0" skipped="0" timestamp="2022-04-26T12:21:54" time="1.347" tests="1">
67
- <testcase classname="Can place flowers Should return whether the flowers can be placed" name="Can place flowers Should return whether the flowers can be placed" time="0.004">
68
- </testcase>
69
- </testsuite>
70
- </testsuites>
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites>
3
- <testsuite name="SearchServiceTest" filepath="tests/data/src/services/search_service_test.rb" skipped="0" failures="0" errors="0" tests="10" assertions="35" time="12.69219041703036">
4
- <testcase name="test_should_filter_tests_by_empty_state" lineno="53" classname="SearchServiceTest" assertions="1" time="1.2384451800026" file="tests/data/src/services/search_service_test.rb">
5
- </testcase>
6
- <testcase name="test_should_ignore_tags_in_description" lineno="75" classname="SearchServiceTest" assertions="4" time="0.9786869559902698" file="tests/data/src/services/search_service_test.rb">
7
- </testcase>
8
- <testcase name="test_should_search_tests_by_title" lineno="23" classname="SearchServiceTest" assertions="4" time="0.8955210090207402" file="tests/data/src/services/search_service_test.rb">
9
- </testcase>
10
- <testcase name="test_find_tests_in_suites_by_tag" lineno="86" classname="SearchServiceTest" assertions="5" time="1.299875194003107" file="tests/data/src/services/search_service_test.rb">
11
- </testcase>
12
- <testcase name="test_should_find_tests_on_a_branch" lineno="102" classname="SearchServiceTest" assertions="2" time="1.3175485290121287" file="tests/data/src/services/search_service_test.rb">
13
- </testcase>
14
- <testcase name="test_should_search_globally_by_title" lineno="121" classname="SearchServiceTest" assertions="5" time="1.2479866149951704" file="tests/data/src/services/search_service_test.rb">
15
- </testcase>
16
- <testcase name="test_should_take_description_into_account" lineno="61" classname="SearchServiceTest" assertions="4" time="1.611901652009692" file="tests/data/src/services/search_service_test.rb">
17
- </testcase>
18
- <testcase name="test_should_search_tests_by_title_and_state" lineno="40" classname="SearchServiceTest" assertions="4" time="1.3959267169993836" file="tests/data/src/services/search_service_test.rb">
19
- </testcase>
20
- <testcase name="test_should_filter_tests_by_state" lineno="48" classname="SearchServiceTest" assertions="1" time="1.3438418839941733" file="tests/data/src/services/search_service_test.rb">
21
- </testcase>
22
- <testcase name="test_should_search_tests_by_tag" lineno="31" classname="SearchServiceTest" assertions="5" time="1.3624566810030956" file="tests/data/src/services/search_service_test.rb">
23
- </testcase>
24
- </testsuite>
25
- </testsuites>
@@ -1,65 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites>
3
- <testsuite name="" tests="22" assertions="59" errors="0" warnings="0" failures="2" skipped="1" time="0.017157">
4
- <testsuite name="Specify" tests="22" assertions="59" errors="0" warnings="0" failures="2" skipped="1" time="0.017157">
5
- <testsuite name="ObjectPropertyTest" file="/home/davert/projects/specify/tests/ObjectPropertyTest.php" tests="2" assertions="7" errors="0" warnings="0" failures="1" skipped="0" time="0.002431">
6
- <testcase name="testConstruction" class="ObjectPropertyTest" classname="ObjectPropertyTest" file="/home/davert/projects/specify/tests/ObjectPropertyTest.php" line="13" assertions="6" time="0.001759"/>
7
- <testcase name="testRestore" class="ObjectPropertyTest" classname="ObjectPropertyTest" file="/home/davert/projects/specify/tests/ObjectPropertyTest.php" line="35" assertions="1" time="0.000672">
8
- <failure type="PHPUnit\Framework\ExpectationFailedException">ObjectPropertyTest::testRestore
9
- Failed asserting that two strings are equal.
10
- --- Expected
11
- +++ Actual
12
- @@ @@
13
- -'another 1value'
14
- +'another value'
15
-
16
- /home/davert/projects/specify/tests/ObjectPropertyTest.php:42</failure>
17
- </testcase>
18
- </testsuite>
19
- <testsuite name="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" tests="20" assertions="52" errors="0" warnings="0" failures="1" skipped="1" time="0.014726">
20
- <testcase name="testUserCanChangeName" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="29" assertions="3" time="0.001495">
21
- <skipped/>
22
- <system-out>[33;1mI[0m</system-out>
23
- </testcase>
24
- <testcase name="testBeforeCallback" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="51" assertions="1" time="0.000252">
25
- <failure type="PHPUnit\Framework\ExpectationFailedException">testBeforeCallback | user should be davert
26
- Failed asserting that two strings are equal.
27
- --- Expected
28
- +++ Actual
29
- @@ @@
30
- -'davert1'
31
- +'davert'
32
-
33
- /home/davert/projects/specify/tests/SpecifyTest.php:57
34
- /home/davert/projects/specify/src/Codeception/Specify/SpecifyTest.php:71
35
- /home/davert/projects/specify/src/Codeception/Specify/SpecifyHooks.php:76
36
- /home/davert/projects/specify/src/Codeception/Specify.php:23
37
- /home/davert/projects/specify/tests/SpecifyTest.php:58</failure>
38
- <system-out>[41;37mF[0m</system-out>
39
- </testcase>
40
- <testcase name="testMultiBeforeCallback" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="61" assertions="1" time="0.000036"/>
41
- <testcase name="testAfterCallback" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="74" assertions="1" time="0.000031"/>
42
- <testcase name="testMultiAfterCallback" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="85" assertions="1" time="0.000032"/>
43
- <testcase name="testCleanSpecifyCallbacks" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="99" assertions="1" time="0.000195"/>
44
- <testcase name="testExamples" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="111" assertions="2" time="0.000048"/>
45
- <testcase name="testOnlySpecifications" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="121" assertions="1" time="0.000011"/>
46
- <testcase name="testDeepCopy" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="127" assertions="3" time="0.000046"/>
47
- <testcase name="testDeepRevert" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="141" assertions="1" time="0.000066"/>
48
- <testcase name="testCloneOnlySpecified" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="162" assertions="2" time="0.000031"/>
49
- <testcase name="testPropertyRestore" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="209" assertions="8" time="0.000413"/>
50
- <testcase name="testExamplesIndexInName" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="236" assertions="8" time="0.000119"/>
51
- <testcase name="testNestedSpecify" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="267" assertions="1" time="0.000042"/>
52
- <testcase name="testBDDStyle" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="281" assertions="2" time="0.000057"/>
53
- <testcase name="testMockObjectsIsolation" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="298" assertions="2" time="0.010922"/>
54
- <testsuite name="SpecifyTest::testSpecifyAndDataProvider" tests="2" assertions="2" errors="0" warnings="0" failures="0" skipped="0" time="0.000275">
55
- <testcase name="testSpecifyAndDataProvider with data set #0" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="314" assertions="1" time="0.000206"/>
56
- <testcase name="testSpecifyAndDataProvider with data set #1" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="314" assertions="1" time="0.000069"/>
57
- </testsuite>
58
- <testsuite name="SpecifyTest::testExamplesAndDataProvider" tests="2" assertions="12" errors="0" warnings="0" failures="0" skipped="0" time="0.000656">
59
- <testcase name="testExamplesAndDataProvider with data set #0" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="324" assertions="6" time="0.000573"/>
60
- <testcase name="testExamplesAndDataProvider with data set #1" class="SpecifyTest" classname="SpecifyTest" file="/home/davert/projects/specify/tests/SpecifyTest.php" line="324" assertions="6" time="0.000083"/>
61
- </testsuite>
62
- </testsuite>
63
- </testsuite>
64
- </testsuite>
65
- </testsuites>
@@ -1,13 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="0" failures="1" skipped="0" tests="7" time="8.246" timestamp="2022-06-20T00:30:11.495354" hostname="davert-laptop-next"><testcase classname="tests.test_login.TestLogin" name="test_login_with_valid_credentials" time="2.528" /><testcase classname="tests.test_login.TestLogin" name="test_login_with_invalid_credentials" time="0.428" /><testcase classname="tests.test_login.TestLogin" name="test_login_without_username" time="0.548"><failure message="AssertionError: assert 'Epic sadface...e is required' == 'Epic sadface... not required'&#10; - Epic sadface: Username is not required&#10; ? ----&#10; + Epic sadface: Username is required">self = &lt;test_login.TestLogin object at 0x7fdbf7c8fd30&gt;, login_page = &lt;page_objects.login_page.LoginPage object at 0x7fdbf7c8e1d0&gt;
2
-
3
- def test_login_without_username(self, login_page):
4
- login_page.open()
5
- login_page.login('', 'bad_password')
6
- expected_error = 'Epic sadface: Username is not required'
7
- &gt; assert login_page.get_error_message() == expected_error
8
- E AssertionError: assert 'Epic sadface...e is required' == 'Epic sadface... not required'
9
- E - Epic sadface: Username is not required
10
- E ? ----
11
- E + Epic sadface: Username is required
12
-
13
- tests/test_login.py:18: AssertionError</failure></testcase><testcase classname="tests.test_login.TestLogin" name="test_login_without_password" time="0.699" /><testcase classname="tests.test_products.TestProducts" name="test_add_item_to_cart" time="1.684" /><testcase classname="tests.test_products.TestProducts" name="test_remove_button_appears_after_adding_item_to_cart" time="0.971" /><testcase classname="tests.test_products.TestProducts" name="test_remove_item_from_cart" time="1.302" /></testsuite></testsuites>