利用函數的類型簽名進行JavaScript檢查 - TypedJS

ajax 12年前發布 | 4K 次閱讀 OneDrive AbiWord

TypedJS uses a function’s type signature to generate input parameters, and evaluates the function upon these inputs to form a test case. This test case fails if an exception occurs, or the output violates function constraints. While type signatures provide a limited form of program specification, TypedJS adds a quick and rigorous sanity check to your deployment pipeline.

This is just a start. TypedJS will soon provide more complex forms of program specification, and analysis. It is licensed under MIT License.

javascript-check

Requirements: JavaScript Framework
Demo: http://typedjs.com/
License: MIT License

 本文由用戶 ajax 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!