Skip to content

Facilitate creation of module for testing and creating test files in the module - #22

Open
MichaelBCG wants to merge 5 commits into
life-exe:masterfrom
MichaelBCG:feature/tests-module
Open

Facilitate creation of module for testing and creating test files in the module#22
MichaelBCG wants to merge 5 commits into
life-exe:masterfrom
MichaelBCG:feature/tests-module

Conversation

@MichaelBCG

Copy link
Copy Markdown

This pull request:

  • makes it easier to create UE module for tests (assist_tests_module_creation.bat)
  • makes it easier to create test files both in a module for tests and inside the UE game project
  • allows to exclude the module for tests from the OpenCppCoverage report
  • introduces TestsModuleName variable in config.bat. This variable defines the module's name for tests.

Please note that this functionality does not create UE module completely, it creates only folder, .Build.cs, .h and .cpp files for the module

Other notes:

Some samples of user dialogue:

  • when running assist_tests_module_creation.bat:
    image
  • when running create_spec_file.bat or create_test_file.bat :
    image

@MichaelBCG
MichaelBCG force-pushed the feature/tests-module branch from 2032ff9 to 6752830 Compare April 23, 2024 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant