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

Use devkit in e2e tests #102

Open
danmt opened this issue Feb 11, 2022 · 0 comments
Open

Use devkit in e2e tests #102

danmt opened this issue Feb 11, 2022 · 0 comments
Labels
bulldozer This issue is part of bulldozer enhancement New feature or request ts This issue requires typescript.

Comments

@danmt
Copy link
Contributor

danmt commented Feb 11, 2022

Tests are using the anchor client directly, leading to e2e tests that are not entirely covering the way the programs are being used. Programs e2e tests should use Bulldozer's DevKit.

Note

The Bulldozer's DevKit is taking its first steps right now (02/11/2022), in reality, the Program's e2e cant be an exact replica of how the client does it. The API right now is an Angular Service, the underneath class should be instead part of the DevKit and Angular just instantiates it with the respective HttpClient. The same class should be instantiable in any Typescript/Javascript app as long as it has a compatible HttpClient. This way we can have e2e tests of the program that are closer to reality.

@danmt danmt added enhancement New feature or request ts This issue requires typescript. bulldozer This issue is part of bulldozer labels Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bulldozer This issue is part of bulldozer enhancement New feature or request ts This issue requires typescript.
Projects
None yet
Development

No branches or pull requests

1 participant