Automated Testing


(system) #1

yehster wrote on Friday, January 27, 2012:

I’ve been working on automated testing tools using watir-webdriver
https://github.com/yehster/oemrwatir

If you want to see what it is capable of so far, you can check it out on the development demo server.

http://opensourceemr.com:2089/openemr

Basically, I created a bunch of patients and gave them each an appointment for today.

Creating Patients and appointments is the only thing that it can do right now, but I will probably work on test cases for Brady’s changes for the security model for add/edit issues.


(system) #2

bradymiller wrote on Friday, January 27, 2012:

very cool,
-brady


(Eko Budiharto) #3

dear colleauges,
for the automated testing, how do you test it? using selenium? If using selenium, I can try to help to write the script test in selenium and test. Selenium is used to test the interface.


(Brady Miller) #4

Hi @ebudiahr ,

We had somebody work on selenium in the past but it ended being way to time intensive to set up the testing:
https://www.open-emr.org/wiki/index.php/Selenium_Testing

-brady


(Sharon Cohen) #5

We are implementing a new plataform to created automated test (based on selenium) but super easy and no coded needed


(Brady Miller) #6

nice!
Looking forward to seeing what you come up with.


(Stephen Nielson) #7

Hey @sharonco-matrix,

Have you made any more progress on this new platform for automated testing? I’ve been going through and seeing what it would take to fix the unit tests in the latest master copy by leveraging Codeception (which piggy backs on top of PHPUnit). I was going to post on people’s thoughts about automated testing until I found this post. I’m interested to know more of what you are doing here and if I can build on or leverage what you’ve already done.


(Sharon Cohen) #8

Hi stephen, yes we have some tests in this new platform, i can send you the link.
https://www.testcraft.io/

It only for user interface, no PHP unit tests

We really need automated tests and we are willing to add time on it so please contact me to check if we can do something together
sharonco@matrix.co.il