Can Spring be used to gather data from TestNG tests being executed and then input this data in a webpage to show progress of tests?

For example after every test step that is completed, Spring will update this data to the website showing the name of the test steps and whether it passed/failed etc.

What I want to achieve is something that can be used in conjunction with TestNG to gather real time data from the tests being executed and to input this data into the web page so the progress of the tests being executed can be viewed, then in time convert this methodology to a mobile application so our tests can monitored on the go/outside of work hours?

I haven't looked into Spring in that great of detail, I'm hoping someone can explain it to me in quite easy terms and explain it in a way that is related to what I want to achieve as everything I've read so far is kind of broad and I'm finding it difficult to relate it to my needs.

  • You need to ask an actual question. What is your specific, software design-related question? – Robert Harvey Jun 13 '16 at 15:07
  • @RobertHarvey I've updated my question, if its still not specific enough just let me know! Cheers. – colin Jun 13 '16 at 15:21
  • 1
    It's still a bit broad. Your question amounts to "how do I build this specific application?" My answer to that would be "the same way you would build any other Spring application having a data source." – Robert Harvey Jun 13 '16 at 15:35
  • 1
    The purpose of Spring is to stand up a website based on a data source. If you have a data source to display in a web page, it can be done. If TestNG stores its results in a database, making the web page should be relatively straightforward. The rest is highly subjective; whether it's a good idea for your particular scenario is a question only you can answer. – Robert Harvey Jun 13 '16 at 15:48
  • 1
    As to "code belongs on Stack Overflow, discussions belong on Programmers," that's a persistent misconception of this site. Not sure why that idea persists; the scope for Programmers changed a long time ago, but many people still think this site is for the questions that Stack Overflow doesn't want. – Robert Harvey Jun 13 '16 at 15:51

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.