staon / otest2 Goto Github PK
View Code? Open in Web Editor NEWA C++ framework for automated testing
License: GNU Lesser General Public License v3.0
A C++ framework for automated testing
License: GNU Lesser General Public License v3.0
Allow repeated run of a suite or test case.
Proposal:
If a fixture variable derives from a special interface, the framework will repeat the test object until the fixture says stop. The fixture object will survive resurrection of the test object, hence it will able to keep the status of repeating.
Currently the API for assertion functions allows just to add generic text messages. Design and implement a new API which allows more rich manipulations with the output. E.g. coloring of the output useful for assertions printing differences between texts.
A set of assertions checking state of STL containers
An assertion function comparing floating points values with specified precission.
A description how a container test mark is printed.
Remove constraints in the data model:
The parser, generator and reporters must be fixed.
A possibility to define user tags of test suites and cases. And a possibility to run tests with selected tags.
Proposal:
As the boost test or catch2 frameworks do, implement an assertion function which parses the relation expression and allows to print left and right operand separately.
Because the OTest2 uses the libclang library the functionality may be implemented in much more clear way than prepending of the ->* operator and stealing the left operand.
If the state function is declared with user data parameters it cannot be used by the switching function - the function pointer doesn't match the parameter type.
A tool for management of the test mark storage:
Sections inside test cases which causes repeated invocation of the case. Hence, the same initialization code may be shared by several runs.
A set of assertion functions checking content of text files.
Custom objects with special initialization/destruction during the start-up/tear-down phases of their parent test object.
Implement a feature which allows to create a custom class which allows usage of assertion and control functions inside its methods.
A possibility to pass custom data from the main
function to test cases and the start-up/tear-down functions.
Proposal:
The DSL will allow to add parameters to the functions (test states and the start-up/tear-down functions). The otest2 pre-processor will generate a code which grabs the user data from an object placed in the otest2 context and passes them correctly typed into the function.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.