Skip to content

Use resource files in unit tests #69

@amasson42

Description

@amasson42

When writing a unit test, we should be able to load files that are in a resource folder in the repository.

name proposal : unit_tests_root

Unit tests should be executed with this folder as working directory so the main bundle ./ is from this folder and every test files are located starting from this folder.

This unit_tests_root folder should be ignored when packaging an application.

TODO: explain in a unit test, how to access this folder

Metadata

Metadata

Assignees

Labels

CoreRelated to the core architecture or global utilitiesDevOpsRelated to build pipeline and infrastructurefeatureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions