0

I am new to unit testing, please explain me how can I use unit testing specially jsTestDriver or karma in jetBrains software.

I saw this link and install jsTestDriver Pluging to my phpStorm but I didn't understand how use it.

Termininja
  • 6,620
  • 12
  • 48
  • 49
nayeri
  • 175
  • 1
  • 7

1 Answers1

0

I found the response maybe helpful for others :

1.In Jetbrains software press Ctrl+Alt+s and in plugins tab install karma plugin (Docs)
2.In your project $npm install karma --save-dev(karma)
3.Create a config file named : karma.conf.js
4.In Jetbrains software : Run > Edit configurations > + > karma > in configuration file section select karma.conf.js
5.You can run this and test your app

nayeri
  • 175
  • 1
  • 7