iCog-Labs-Dev / metta-moses

Meta Optimization Semantic Evolutionary Search
3 stars 14 forks source link

Test runner script #73

Closed EyobAshenaki closed 2 months ago

EyobAshenaki commented 2 months ago

This PR contains a test runner that executes all tests found in a MeTTa project.

There are few requirements that needs to be satisfied for the test runner to work smoothly are:

EyobAshenaki commented 2 months ago

@Yagth I have reproduced the problem based on the peace of code you provided and the problem seems to be with the import statements. The script assumes the root to be the same for each metta test file it tries to run while the metta test files try to import relative to their location. Which causes an import clash due to conflict of directories when the script tries to run metta test files consequently.