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

🐅 Epic: Implement Testing in Ersilia #1091

Open
2 tasks
DhanshreeA opened this issue Mar 25, 2024 · 7 comments
Open
2 tasks

🐅 Epic: Implement Testing in Ersilia #1091

DhanshreeA opened this issue Mar 25, 2024 · 7 comments

Comments

@DhanshreeA
Copy link
Member

DhanshreeA commented Mar 25, 2024

Summary

We want to implement testing in Ersilia at several levels such as "unit testing" and "integration testing" in the core ersilia codebase. We have two test model repositories created to act as fixtures for these tests.

Objectives

  • Unit tests for the CLI - Ideally tests for all modules across the codebase. 🐕 Batch: Unit Testing in Ersilia CLI #1319
  • Integration tests for the CLI - End to end testing of all interfaces across Ersilia to fetch, and serve a model.

Documentation

@DhanshreeA DhanshreeA changed the title [Project]: Implement Testing in Ersilia [🐕 Batch]: Implement Testing in Ersilia May 28, 2024
@DhanshreeA DhanshreeA moved this to Queue in Ersilia Model Hub May 28, 2024
@GemmaTuron
Copy link
Member

Hi @DhanshreeA

This issue is not well described. Either add information or close it if it is no longer in use

@DhanshreeA
Copy link
Member Author

I will update this as we very much want to achieve this still.

@GemmaTuron GemmaTuron moved this to On Hold in Ersilia Model Hub Sep 24, 2024
@GemmaTuron GemmaTuron assigned DhanshreeA and unassigned DhanshreeA Sep 24, 2024
@DhanshreeA DhanshreeA changed the title [🐕 Batch]: Implement Testing in Ersilia 🐅 Epic: Implement Testing in Ersilia Oct 13, 2024
@GemmaTuron
Copy link
Member

@DhanshreeA how is this related to #1319 ?

@DhanshreeA
Copy link
Member Author

@GemmaTuron I have updated the issue description by attaching #1319 to the unit testing task. Basically we are identifying individual test cases and tracking them in the unit testing batch.

@DhanshreeA
Copy link
Member Author

@Abellegese could you also document your test cases here by linking relevant commits/PR?

@Abellegese
Copy link
Contributor

Abellegese commented Dec 27, 2024

So this issue has been addressed in the following cases:

  1. Pytest for five ersilia CLI and all the associated function level testing using partial mocking.
  2. Playground test: to test model behaviour using custom rules
  3. Model Tester: To test and remote and local models

@miquelduranfrigola
Copy link
Member

Good. @DhanshreeA I believe this is good to be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: On Hold
Development

No branches or pull requests

4 participants