Automated White box/backend testing for a Test Engineer?



  • I have been writing a lot of UI tests lately using Selenium and I want to do more integration testing from the backend as well. What is a good approach to start with this, where can I find some more resources in this? My team does a successful job in writing very good unit tests, but I want to learn and test the whole software from the backend as well. We have xml going out to various other partners as well.



  • I am working under the assumption that you would be familiar with the language the tools are being written in. If the team you are on already is writing unit tests a good place to start might be with them. Talk to the developers that are writing the unit tests and get an idea for how the underlying code is working. In the process of doing this start talking to them about the different layers of the system that you are working on. Is there a database? The perhaps you can look at writing some tests that execute the database code directly. What does the middle tier look like. Does the UI or Applciation layer call any services? If so you could write tests via code that mimic those calls directly to the services. the XML - There are lots of ways you could do validation on the xml file by doing a static compare or building an oracle that could tell you what structures and attributes to include in the file is there an API? How would you go about exercising it. There is a lot of things that you can do to test the different layers of the application. Not all of them have to be automated but many of them can and will lend themselves to it. The biggest thing is to get up and go talk with people and be curious about the systems you are working on.



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2