Replies: 4 comments 3 replies
-
I agree that E2E testing of pages is extremely useful especially when it comes to more complex ones with complex loading and submissions. However Cypress will require that you got some nodejs installed on your machine (when not using cloud option) and we can't invoke that directly from the browser afaik. However it might help to have a project structure generated to put your Fore project and have testing around? E.g. kickstart it with getting
we would put a local node-based http server so can run and test on localhost easily and run the E2E tests. running tests would than simply be When you work is done you would simply take everything from the 'src' folder and deploy it on your webserver. What do you think? Would that be helpful?` |
Beta Was this translation helpful? Give feedback.
-
Hey Tim, Good one. E2E testing is great for more complex applications. Cypress needs a host environment, though you can also run it in the cloud. So you will have to install it in your own project. This is something we could make a 'basis' for, like an example Fore app. What are your thoughts Joern? |
Beta Was this translation helpful? Give feedback.
-
Thinking about it it would probably the simplest thing to create a seperate repo 'fore-project', setup the suggested structure in there and have a package.json in place to pull everything with a single |
Beta Was this translation helpful? Give feedback.
-
@timathom @DrRataplan please have a look at https://github.com/Jinntec/fore-project - i tried to quickly throw something together. Let me know if if you can follow the readme and your thoughts. |
Beta Was this translation helpful? Give feedback.
-
I'm not a software developer, so my experience with different testing frameworks is limited, but I've been looking at the Cypress E2E testing in Fore, and it strikes me as something that could be really useful for users of Fore in general as a way to test their apps. Maybe it's something that could be packaged with or executed from Fore Glass?
Beta Was this translation helpful? Give feedback.
All reactions