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 BDD test framework #524

Open
wucke13 opened this issue Aug 10, 2024 · 1 comment
Open

Add BDD test framework #524

wucke13 opened this issue Aug 10, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@wucke13
Copy link

wucke13 commented Aug 10, 2024

What are you building with SQLPage ?

A small point of sales proof of concept.

What is your problem ? A description of the problem, not the solution you are proposing.

I want to test my web-app frequently.

Describe the solution you'd like

I would like to describe the behavior of the website in Gherkin syntax (Given ..., When ..., Then ...). For webapps based on databases that mostly consist of workflows through forms that is quite a natural way to test. The Ruby community was quite bold on Behavior Driven Development as well.

Describe alternatives you've considered

Test vectors sequences could also be a viable approach to test UI interaction sequences

@wucke13 wucke13 added the enhancement New feature or request label Aug 10, 2024
@lovasoa
Copy link
Collaborator

lovasoa commented Aug 12, 2024

Hi !

I'm not sure about bundling testing tools inside SQLPage. There is a large number of testing solutions that already work much better than anything we could implement ourselves in a reasonable time.

To test the official site, we use playwright, which I think results in fairly readable end-to-end tests: https://github.com/lovasoa/SQLpage/blob/main/tests/end-to-end/official-site.spec.ts

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

2 participants