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

What kind of tests exists for the demo #1792

Open
Killpit opened this issue Nov 25, 2024 · 3 comments
Open

What kind of tests exists for the demo #1792

Killpit opened this issue Nov 25, 2024 · 3 comments
Labels
question Further information is requested

Comments

@Killpit
Copy link

Killpit commented Nov 25, 2024

Question

What are the kinds of tests existing in this demo for each of the services in the programming language and if it's possible to add tests whether unit or integration tests if necessary to this demo?

@Killpit Killpit added the question Further information is requested label Nov 25, 2024
@puckpuck
Copy link
Contributor

The demo has a set of Cypress end-to-end testing scripts as part of the frontend and a full set of trace-based tests.
The Cypress tests are in the src/frontend/cypress/e2e folder. You can find the trace-based tests in test/tracetesting.
To execute the tests, run make run-tests

@Killpit
Copy link
Author

Killpit commented Nov 26, 2024

What about for tests such as Rust language, Golang or other languages, are there need to write further

@puckpuck
Copy link
Contributor

Hi @Killpit, I'm sorry for not returning to this message earlier. We don't need to run unit tests in the demo since it is quite simple already. Ideally, the tests run in the demo are end-to-end and focused on ensuring the telemetry generated is proper.

That said, the trace-based testing framework used by the demo needs to be revamped. #1814 discusses how our existing framework has been failing us lately.

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

No branches or pull requests

2 participants