Skip to content

Use resource files in unit tests #69

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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