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

We need a way to run tests #785

Closed
Tracked by #740
alecthomas opened this issue Jan 15, 2024 · 1 comment
Closed
Tracked by #740

We need a way to run tests #785

alecthomas opened this issue Jan 15, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@alecthomas
Copy link
Collaborator

alecthomas commented Jan 15, 2024

Spitballing here.

There are two use cases:

  1. Just being able to compile in order to run unit tests. We could potentially use a snapshot of a valid schema to achieve this.
  2. Running integration tests.

For local tests we will still likely want resources like DBs to be usable.

For integration tests we could have something like an ftl test <dir> -- <test-command> command that combines ftl serve --recreate and ftl dev <dir>, then runs <test-command>, maybe.

@alecthomas alecthomas added the enhancement New feature or request label Jan 15, 2024
@github-project-automation github-project-automation bot moved this to Todo in FTL Jan 15, 2024
@alecthomas alecthomas changed the title We need a way to run tests in CI We need a way to run tests Jan 15, 2024
@alecthomas
Copy link
Collaborator Author

I think we've half-arsed fixed this.

@github-project-automation github-project-automation bot moved this from Todo to Done in FTL Feb 7, 2024
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