You can validate a Script Package you are working on before you check it in to the database. Note that the validation process in the xMatters Developer IDE checks the syntax of your scripts for errors and omissions; it does not check your scripts' function.
Creating and modifying Script Packages