How do you know if your JavaScript library will break your code after updating?

So you are using a bunch of javascript libraries on a website. Your javascript code calls several APIs, but each time after updating one of the APIs changes, and your code is interrupted without knowing it.

How do you prevent this?

I'm most interested in javascript, but any answer to dynamically typed languages ​​would be valuable.

+5
source share
3 answers

, JsUnit Selenium. , . , , .

Selenium API Google Maps API, .

+2

, . . :

  • TEST
  • , , .
+3

:

  • .

There is no guarantee that the update will not break something. Even if you have something that can test the underlying API and make sure that it is still built, you cannot be sure that the basic functions are the same.

+1
source

All Articles