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

Test Trial Set and Testing Suite #140

Open
2 tasks
jmdelahanty opened this issue Dec 1, 2022 · 2 comments
Open
2 tasks

Test Trial Set and Testing Suite #140

jmdelahanty opened this issue Dec 1, 2022 · 2 comments

Comments

@jmdelahanty
Copy link
Contributor

A clear problem with the library is that performing quick tests is not guaranteed to be easy to do. There needs to be a small trial set and separate "Experiment" Type that just has something small like 10 trials with every type. A few things would need to be done to accomplish this:

  • New CLI argument or entire module for testing, something like 'bruker_control_test.py' that has no arguments and literally just does the typical run of an experiment without any of the trial generation logic.
  • Prairie View LED Voltage Output Experiment needs to be available.

This is a frustration that I have and that Deryn has understandably expressed as well. Maybe I can do this over a weekend of hacking or something...

@jmdelahanty
Copy link
Contributor Author

Whoops shouldn't have closed this

@jmdelahanty jmdelahanty reopened this Dec 2, 2022
@jmdelahanty
Copy link
Contributor Author

Added a couple super simple pytest things today in a branch. I didn't design this thing to be that easily tested it seems like... there's a few things that are kinda hard to properly test I think because it's just reliant on hardware that's literally not in my control.

But they're tests anyways I guess...

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

No branches or pull requests

1 participant