Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Might be easier to set up the backend before testing the front end. You could use your existing models and code to create data in the DB for instance, and then use the web browser to test that things are working.

What's the alternative? Prepare the backend via exclusive frontend operations? That has its own issues like possibly being impossible (e.g. maybe making an admin isn't exposed to the webapp) or being slow, or not being able to create data in a "legacy" state that the current frontend can't do.

Or maybe use C# to create and teardown the data, but then call out to a nodejs process in the middle of the test?

I am legitimately curious how you would test a C# app exclusively from nodejs.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: