Giter Site home page Giter Site logo

Comments (7)

Dingshouqing avatar Dingshouqing commented on May 25, 2024

Hi Gordon,

Thanks for contacting us.

Current Protocol Test Manager CLI does not support the “play list” feature, we’ll add this requirement to our backlog.

The old ProtocolTestManager GUI is deprecated as for not supporting cross-platform, you could try our new PTMService which supports running on more platforms like Windows, Linux, and macOS.
The new PTMService is similar to the old GUI tool and supports “play list”, you could select cases you want to run and also support check history run result, you could have a try.
For more details please visit our wiki page: PTMService
ptmservice

Best Regards,
Windows Protocol Test Suites Development Team

from windowsprotocoltestsuites.

gwr avatar gwr commented on May 25, 2024

Thanks very much. I have not looked at the PTMService yet.
Does that offer a way to re-run a single test?

from windowsprotocoltestsuites.

Dingshouqing avatar Dingshouqing commented on May 25, 2024

Hi Gordon,

Yes, PTMService can re-run a single test!

  • Option 1
    Click the “Run” button of the previously created configuration
    1
    Select test you want to run/re-run then click “Run selected cases”
    2
    After clicking the “Run selected cases” button it will auto navigate to the “View History” page, you could click “go back” and then will go back to the “Run Selected Test Case” page and you could select a case to run/re-run again
    3

  • Option 2
    Click the “View History” link on top and then find the previous run record and click “View Result”
    4
    Select test you want to re-run and then click “Rerun Selected Cases”
    5

Best Regards,
Windows Protocol Test Suites Development Team

from windowsprotocoltestsuites.

gwr avatar gwr commented on May 25, 2024

It would be handy to be able to specify a playlist (or single test name) for the PTM CLI.
However, the PTM service is a useful work-around for that deficiency of the CLI.
Thanks.

from windowsprotocoltestsuites.

Dingshouqing avatar Dingshouqing commented on May 25, 2024

Hi Gordon,

PTMCli supports users to specify a filter expression to run selected tests, this could help you to be able to run specific tests by name or category instead of providing a playlist.
For example:
Run tests which name contains “CreateFileTestCasesS20”

PTMCli.exe -p fileserver.ptm -t "C:\FileServer-TestSuite-ServerEP" --filter "Name~CreateFileTestCaseS20"

Run Tests which category equals to “CreateFile”

PTMCli.exe -p fileserver.ptm -t "C:\FileServer-TestSuite-ServerEP" --filter "TestCategory=CreateFile"

You could download our latest released PTMCli to have a try.
We’ll update our PTMCli wiki page accordingly.

For more details about how to use --filter please refer to this document: Run selected unit tests - .NET | Microsoft Docs

Best Regards,
Windows Protocol Test Suites Development Team

from windowsprotocoltestsuites.

gwr avatar gwr commented on May 25, 2024

Thanks. I did not find information about the --filter language, only finding examples using "TestCategory=..."
Thanks for pointing out the "Name=..." feature.

from windowsprotocoltestsuites.

lumengyanhelen avatar lumengyanhelen commented on May 25, 2024

Hi Gordon,

Since this thread has been inactive for some time, we will close it for now. Please feel free to contact us if there is any further question.

Best Regards,
Windows Protocol Test Suites Development Team

⭐⭐Join us at SNIA EMEA SDC SMB3 IO Lab 2022 (4/5-4/7):
https://interopevents.com/en-us/snia2022

from windowsprotocoltestsuites.

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.