Giter Club home page Giter Club logo

Comments (2)

dmizverev avatar dmizverev commented on June 15, 2024

I confirm a error with rerun tests under pabot

c:\Users\Dmitriy.Zverev\PS_RF\User_Part\Source\test\my_demo\test>pybot .
==============================================================================
Test                                                                          
==============================================================================
Test.Main Suite                                                               
==============================================================================
Test.Main Suite.Child Suite :: child suite                                    
==============================================================================
Simple test :: Simple test                                            | PASS |
------------------------------------------------------------------------------
Test.Main Suite.Child Suite :: child suite                            | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
Test.Main Suite                                                       | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
Test.Main Suite2                                                              
==============================================================================
Test.Main Suite2.Child Suite2 :: child suite 2                                
==============================================================================
Simple test 2 :: Simple test 2                                        | PASS |
------------------------------------------------------------------------------
Test.Main Suite2.Child Suite2 :: child suite 2                        | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
Test.Main Suite2                                                      | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
Test.Main Suite3                                                              
==============================================================================
Test.Main Suite3.Child Suite3 :: child suite 3                                
==============================================================================
Simple test 3 :: Simple test 3                                        | FAIL |
Fail test 3
------------------------------------------------------------------------------
Test.Main Suite3.Child Suite3 :: child suite 3                        | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Test.Main Suite3                                                      | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Test                                                                  | FAIL |
3 critical tests, 2 passed, 1 failed
3 tests total, 2 passed, 1 failed
==============================================================================
Output:  c:\Users\Dmitriy.Zverev\PS_RF\User_Part\Source\test\my_demo\test\output.xml
Log:     c:\Users\Dmitriy.Zverev\PS_RF\User_Part\Source\test\my_demo\test\log.html
Report:  c:\Users\Dmitriy.Zverev\PS_RF\User_Part\Source\test\my_demo\test\report.html

Rerun tests with pybot works well

c:\Users\Dmitriy.Zverev\PS_RF\User_Part\Source\test\my_demo\test>pybot --rerunfailed output.xml .
==============================================================================
Test
==============================================================================
Test.Main Suite3
==============================================================================
Test.Main Suite3.Child Suite3 :: child suite 3
==============================================================================
Simple test 3 :: Simple test 3                                        | FAIL |
Fail test 3
------------------------------------------------------------------------------
Test.Main Suite3.Child Suite3 :: child suite 3                        | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Test.Main Suite3                                                      | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Test                                                                  | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Output:  c:\Users\Dmitriy.Zverev\PS_RF\User_Part\Source\test\my_demo\test\output.xml
Log:     c:\Users\Dmitriy.Zverev\PS_RF\User_Part\Source\test\my_demo\test\log.html
Report:  c:\Users\Dmitriy.Zverev\PS_RF\User_Part\Source\test\my_demo\test\report.html

But with pabot error:

c:\Users\Dmitriy.Zverev\PS_RF\User_Part\Source\test\my_demo\test>pabot --rerunfailed output.xml c:\Users\Dmitriy.Zverev\PS_RF\User_Part\Source\test\my_demo\test
[PID:8856] EXECUTING Test.Main Suite3.Child Suite3
FAILED Test.Main Suite3.Child Suite3
[ ERROR ] Suite 'c:\Users\Dmitriy.Zverev\PS RF\User Part\Source\test\my demo\test' contains no tests named 'Test.Main Suite3.Child Suite3.Simple test 3' or 'Test.Main Suite3.Child Suite3.Simple test 3'.

Try --help for usage information.
Elapsed time: 0 minutes 0.920 seconds

or

c:\Users\Dmitriy.Zverev\PS_RF\User_Part\Source\test\my_demo\test>pabot --rerunfailed output.xml c:\Users\Dmitriy.Zverev\PS_RF\User_Part\Source\test\my_demo\
[ ERROR ] One or more data source needed.

Try --help for usage information.
Elapsed time: 0 minutes 0.288 seconds

from pabot.

sachin6757 avatar sachin6757 commented on June 15, 2024

Hi @dmizverev ,

Thanks for your help.

Got the problem. name should be top level suite name whereas I was entering suite name in the name :(.

Again thanks for you help 👍

-Sachin

from pabot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.