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

Unit Tests - Running / Develop #73

Closed
teotigraphix opened this issue Nov 8, 2018 · 2 comments
Closed

Unit Tests - Running / Develop #73

teotigraphix opened this issue Nov 8, 2018 · 2 comments
Labels

Comments

@teotigraphix
Copy link
Contributor

Hey,

I use Windows for dev, is there any advice you can give for a setup? I am trying to figure out how to use Android Studio as the IDE with code completion/error checking and run a single test or the whole suite.

  • Do you just use a text editor and "run" in place?
  • How do you run 1 test at a time when you are doing TDD (mind you I do this but not as religion)?
  • I have tried to understand how AS works with NDK testing but it doesn't seem to jive with what you have going.
@igorski
Copy link
Owner

igorski commented Dec 21, 2018

Currently running the suite is done by manually invoking the test.sh shell script. Haven't invested any time in how this can be done directly from Android Studio as it should be possible (assumption) to run on a per-file basis, rather than the whole suite at once. For intermediate single tests, I only include the test I'm working on in main.cpp.

This can be improved once #93 completes.

@igorski
Copy link
Owner

igorski commented Dec 30, 2019

This will be tackled as part of #106, together with #93 this ensures that unit tests can be written and executed side-by-side during development without requiring custom scripts or configuration changes.

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

No branches or pull requests

2 participants