Running JUnit from webcontainer

Hello All,
I have a project where I will be required to produce some kind of site where a client can view if things are working. It looks like JUnit tests are very good for this. Now my question is, how can I run a test from inside a program (say when a user clicks a button, or hits a specific url (servlet etc configuration I can do.. it's the unit test I'm wondering about). And how do I collect the results from running a suite of tests. It would probably be like 10-20 different tests, and I would like to collect the results and render them depending on how the tests went.