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

Add tests for evolver.yml configs that should be rejected. #211

Open
imaitland opened this issue Nov 18, 2024 · 0 comments
Open

Add tests for evolver.yml configs that should be rejected. #211

imaitland opened this issue Nov 18, 2024 · 0 comments

Comments

@imaitland
Copy link
Collaborator

imaitland commented Nov 18, 2024

/ POST currently accepts a subtly wrong configs e.g.

  • missing config wrapper, around a property, like hardware's calibrator, should be in hardware.config.calibrator, not hardware.calibrator.

Task

  • Write a variety of mal-formed config objects.
  • Write tests where assertions are made showing malformed configs are rejected when POST'd to / , with useful error messages, e.g. "missing config on classinfo".
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