0

I have a web application which uses Flask and talks to a database at the backend. It also uses Amazon AWS S3. I have written unit tests for this package.

The question is that I want to write integration tests where I am testing the external dependencies as well. I have been reading about integration tests and system tests. Do I create a new package lets says FooSystemTests or FooIntegrationTests or should they be part of my application package? I am planning to make this as part of my deployment process. My plan was in the integration tests I will test my external dependencies and in the system tests I will test things like if I go to a route what do I get back (testing as if the system is a black box). Also I read about selenium testing, where should that be system or integration?

Any thoughts/ideas will be very helpful.

Mark
  • 2,058
  • 2
  • 35
  • 64
  • Do you intend to test the front-end as well? If your is "no" I think you can perform a regular test invoking your entry calls. Even if you want to simulate a navigation you can do that using "requests" or "curl".That should be enough, no? – Fabio Menegazzo Aug 11 '15 at 19:16
  • @Menegazzo Yes, I want to test the front-end also – Mark Aug 11 '15 at 19:52
  • I really don't like Selenium for many (personal) reasons. Here where I work we use Jasmine to write the front-end tests and Karma to run them. – Fabio Menegazzo Aug 11 '15 at 20:19

0 Answers0