Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a module to save the test dependencies #4

Closed
Igorxp5 opened this issue Mar 19, 2022 · 1 comment
Closed

Create a module to save the test dependencies #4

Igorxp5 opened this issue Mar 19, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Igorxp5
Copy link
Owner

Igorxp5 commented Mar 19, 2022

The results include:

  • Hash of the content of each dependency file
  • The test cases location, and the dependecy matrix. The depedency matrix will tell us what files each test cases covers.

Let's save those informations in a JSON file.

@Igorxp5 Igorxp5 added the enhancement New feature or request label Mar 19, 2022
@Igorxp5 Igorxp5 self-assigned this Mar 20, 2022
Igorxp5 added a commit that referenced this issue Mar 20, 2022
- Create EkstaziConfiguration class to parse and handle the test dependencies
- Create flags to use the Pytest plugin
- Trace the tests and save their depedencies in the configuration file
- Create package setup file

Implements #4 #7
@Igorxp5 Igorxp5 closed this as completed Mar 20, 2022
@Igorxp5 Igorxp5 changed the title Create a module to save the test results Create a module to save the test dependencies Mar 20, 2022
@Igorxp5
Copy link
Owner Author

Igorxp5 commented Mar 20, 2022

See below the output of the plugin:

{
    "dependencies": {
        "test_dependencies.py::test_method_1": [
            "dependency.py"
        ],
        "test_dependencies.py::test_method_2": [
            "dependency.py",
            "dependency_2.py"
        ]
    },
    "file_hashes": {
        "dependency.py": "e9ea3569a1d9ffd7d638fa4feec37cc20d378100",
        "dependency_2.py": "eb239cdace7e3c5545f2e36c4f60d86163543f4f"
    }
}

@Igorxp5 Igorxp5 pinned this issue Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant