smashtestio / smashtest

Smashtest core and packages
https://smashtest.io
MIT License
516 stars 22 forks source link

[Docs] Better description and more examples / tutorials #6

Open amesas opened 5 years ago

amesas commented 5 years ago

Better description

Smashtest is a language for rapidly describing and deploying test cases. Greatly speed up your automated testing by writing tests in a tree-like format.

Is it unit testing? Only browser testing? Can I make a test that navigates my site, creates a new product using Firefox and then check if the row has been inserted correctly in my database?

Examples / Tutorials

One great way to promote this tool is getting more examples / integration tutorials. A CI/CD integration example could be great ( Jenkins, CircleCI, etc...) A dev.to post could help spread the word :)

memoryza commented 5 years ago

mple could be great ( Jenkins, CircleCI, etc...)

I wrote some examples in the course of my study. I hope it will be helpful. smashtest-example

dsarajlic commented 5 years ago

Not mixing psuedo-code with the syntax in the examples listed on https://smashtest.io/ would be a big help. Furthermore, additional clarification on the props syntax, which looks jQuery-esque but works somewhat differently would be great. When/ if I manage to work out all the syntax kinks/ issues I would not be averse to updating the website.

retroburst commented 5 years ago

A more comprehensive example that puts all the elements together would be a big help. For instance, an example that implemented a sample test suite would help new users see what is best practice and how all the parts fit together. This would include things like declaring variables, props, functions, groups and frequencies, step blocks etc in the one piece of sample code. It would be even better if the sample test suite was able to be executed and debugged by a new user - for example, using publicly available resources such as google.com.

Thanks for all your work on smashtest! It's awesome!

vptes1 commented 5 years ago

I uploaded more examples of UI and API testing to https://github.com/smashtestio/smashtest/tree/master/examples Please let me know what you think!

retroburst commented 5 years ago

This will definitely help, these more comprehensive examples give a better view of how everything fits together! Thank you!

IjazDar commented 3 years ago

Hi, I'm not able to get element of a drop down, anyone please share some references and help for this issue by using smashtest? thanks.