How can we write unit test or e2e test for ionic2?

#1

Does Ionic Team have a plan to implement GUIDE for testing ionic2 project when it release the stable version?

#2

I’ve written a short tutorial http://lathonez.com/2016/ionic-2-unit-testing/

3 Likes
#3

Great! Being look for it awhile ^^

#4

Followup tutorial on e2e testing http://lathonez.com/2016/ionic-2-e2e-testing/

#5

can you take a look into this issue I am facing while unit testing a component https://forum.ionicframework.com/t/error-no-provider-for-deeplinker/71550

#6

Hi, thanks, your tutorial is great, i have a question… is there a way to run the e2e tests on a phone?
I really need to do that.
Thank you.

#7

You need something like appium to run e2e on a real device.
You can easy implement e2e Tests with appium in JavaScript, Java or any other language.

In my company i implemented appium to test our App on over 200 real test devices at once with appium.

1 Like
#8
#9

Hi, I am trained on Appium just no I came across from your post i will share the following link it will be helpful for you Check here.
Thanks.