A minimalistic test framework written in C++ providing scenario based, stateful acceptance testing where application user interface is mocked using test stubs. Refer to Sample.cpp for usage guidance. The sample defines a simple application class, fake user interface implementing the same abstract interface as the application requires, a test context to hold test state and pass it on among steps, and a few test steps. It then adds all the test steps to a test scenario. Then the default() main function is inserted. If you compile, link and execute the Sample, you will have an idea of what you should expect when you have finished writing your test.

Features

  • Acceptance testing immediately below UI
  • Compatible with mocking frameworks (GMOCK, turtle, etc)
  • Stateful scenario steps (each step picks up where the last one left)
  • Suitable for applications with extensive requirements where post-conditions for one provide pre-conditions for another
  • Massive code reuse: no need to build up the preconditions for each test case from scratch as each step is built on top of the last
  • Faster test runs: in acceptance testing, building the preconditions for each test case from scratch could be very time consuming - mutiply it by the number of test cases that share the same context. Here the state is saved and passed between test steps saving context building time during test runs.
  • Header only: you don't need to build ProTest separately and link it to your test application. Just include the header and that's all.
  • Light-weight
  • Easily readable and fairly customizable test reports

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow ProTest

ProTest Web Site

Other Useful Business Software
PRTG Catches Network Issues Before They Cause Downtime Icon
PRTG Catches Network Issues Before They Cause Downtime

Threshold-based alerts flag problems early, so your team can act before users notice, not after.

Reactive troubleshooting usually means hearing about a problem from frustrated users, not your monitoring tool. PRTG sets threshold-based alerts across devices, servers and applications, notifying your team by email, SMS or push the moment a metric crosses a set limit. That means catching a failing disk or overloaded server before it becomes an outage and getting time back from firefighting. Start a free trial and set your first alerts today.
Download 30-Day Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ProTest!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Intended Audience

Developers, Information Technology, Quality Engineers, Testers

Programming Language

C++

Related Categories

C++ Software Testing Tool, C++ QA Automation Software, C++ Test Frameworks

Registered

2017-06-20