Skip to content

Stage is a library for testing C++ libraries within fake projects

Notifications You must be signed in to change notification settings

Tolc-Software/Stage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stage

Stage is a C++ helper library for creating temporary project environment to test how a library interacts in a "real" scenario.

It helps with an overview of operations:

  1. You give Stage a path to a base (e.g. tests/testStage)
  • A base is a project that will be used as a template
  • The base should contain the files you want to use in all your stages
  • This creates a unique temporary directory as tests/testStage/stages/xxxxxx
  1. You give Stage a set of files from the base (e.g. {tests/testStage/CMakeLists.txt, tests/testStage/cmake/Module.cmake})
  2. You give Stage a set of source files with content (this will be your test)
  3. You let Stage build the project and you run some arbitrary commands inside the stage
  4. The Stage object goes out of scope and the temporary directory is destroyed

Installation

TODO

Usage

TODO

License

MIT

About

Stage is a library for testing C++ libraries within fake projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published