en
Bøger
Liang Yuxian Eugene

JavaScript Testing

In DetailJavaScript is an important part of web development in today's Web 2.0 world. While there are many JavaScript frameworks in the market, learning to write, test, and debug JavaScript without the help of any framework will make you a better JavaScript developer. However, testing and debugging can be time consuming, tedious, and painful. This book will ease your woes by providing various testing strategies, advice, and tool guides that will make testing smooth and easy. This book shows you the most essential features of JavaScript, which you will be using in your daily development, testing, and debugging tasks. You will learn to use the most basic functions of JavaScript to perform ad hoc testing quickly and efficiently. This book is organized in an easy to follow, step-by-step tutorial style to maximize your learning. You will first learn about the different types of errors you will most often encounter as a JavaScript developer. You will also learn the most essential features of JavaScript through our easy to follow examples.As you go along, you will learn how to write better JavaScript code through validation. Learning how to write validated code alone will help you improve tremendously as a JavaScript developer and most importantly, to write JavaScript code that runs better, faster, and with less bugs.As our JavaScript program gets larger, we need better ways of testing our JavaScript code. You will learn how to go about various testing concepts and how to use them in your test plan. After which, you will learn how to implement the test plan for your code. To accommodate more complex JavaScript code, you will learn more about the built-in features of JavaScript to identify and catch different types of JavaScript error. Such information helps to spot the root of the problem so that you can act on it. Finally, you will learn how to make use of the built-in browser tools and other external tools to automate your testing process.
Learn how to test and debug JavaScript through example-driven tutorials.
ApproachThis book is organized such that only the most essential information is provided to you in each chapter so as to maximize your learning. Examples and tutorials are given in an easy to follow, step-by-step manner so that you can see how the testing process is being carried out and how the code is being written. The source code also contains detailed explanation so that you know what the code is doing. Multiple screenshots are used in places that matter so that you have a visual sense of what is happening.
Who this book is forBeginner JavaScript developers looking for essential ways to write, test, and debug JavaScript for different purposes and situations.
334 trykte sider
Udgivelsesår
2010
Har du allerede læst den? Hvad synes du om den?
👍👎

Citater

  • Anna Marinkovićhar citeretfor 3 år siden
    there are no error messages to inform you that an error has occurred. This makes debugging difficult.
  • dariadiahar citeretfor 4 år siden
    Pareto testing is what I personally call "real world" testing, and is conducted under strict time and money constraints. This is because Pareto testing only focuses on the most used functions; the most frequently used functions are what matter the most and hence we should focus our time and effort on testing these functions. Alternatively, we may see Pareto testing such that most bugs come from a small handful of functions of our programs; therefore, by spotting these functions, we can test our program much more effectively.
  • dariadiahar citeretfor 4 år siden
    The main advantage of black box testing is that the test results are often unaffiliated, because the tester has no knowledge of the code.

På boghylderne

fb2epub
Træk og slip dine filer (ikke mere end 5 ad gangen)