Skip to main content

Home/ Coders/ Group items tagged Testing

Rss Feed Group items tagged

Bojan Todorovski

www.test-net.org - 0 views

shared by Bojan Todorovski on 20 Jul 16 - No Cached
  •  
    Network Tools for testing performance of your Network
fspore

Values, Types, and Operators :: Eloquent JavaScript - 0 views

  • Not all operators are symbols. Some are written as words. One example is the typeof operator, which produces a string value naming the type of the value you give it.
  • Having such numbers is useful for storing strings inside a computer because it makes it possible to represent them as a sequence of numbers. When comparing strings, JavaScript goes over them from left to right, comparing the numeric codes of the characters one by one.
  • There is only one value in JavaScript that is not equal to itself, and that is NaN, which stands for “not a number”.
  • ...16 more annotations...
  • In practice, you can usually get by with knowing that of the operators we have seen so far, || has the lowest precedence, then comes &&, then the comparison operators (>, ==, and so on), and then the rest. This order has been chosen such that, in typical expressions like the following one, as few parentheses as possible are necessary:
  • The difference in meaning between undefined and null is an accident of JavaScript’s design, and it doesn’t matter most of the time. In the cases where you actually have to concern yourself with these values, I recommend treating them as interchangeable (more on that in a moment).
  • . Yet in the third expression, + tries string concatenation before numeric addition
  • When something that doesn’t map to a number in an obvious way (such as "five" or undefined) is converted to a number, the value NaN is produced.
  • Further arithmetic operations on NaN keep producing NaN, so if you find yourself getting one of those in an unexpected place, look for accidental type conversions.
  • g ==, the outcome is easy to predict: you should get true when both values are the same, except in the case of NaN.
  • But when the types differ, JavaScript uses a complicated and confusing set of rules to determine what to do. In most cases, it just tries to convert one of the values to the other value’s type. However, when null or undefined occurs on either side of the operator, it produces true only if both sides are one of null or undefined.
  • That last piece of behavior is often useful. When you want to test whether a value has a real value instead of null or undefined, you can simply compare it to null with the == (or !=) operator.
  • The rules for converting strings and numbers to Boolean values state that 0, NaN, and the empty string ("") count as false, while all the other values count as true.
  • where you do not want any automatic type conversions to happen, there are two extra operators: === and !==. The first tests whether a value is precisely equal to the other, and the second tests whether it is not precisely equal. So "" === false is false as expected.
  • The logical operators && and || handle values of different types in a peculiar way. They will convert the value on their left side to Boolean type in order to decide what to do, but depending on the operator and the result of that conversion, they return either the original left-hand value or the right-hand value.
  • The || operator, for example, will return the value to its left when that can be converted to true and will return the value on its right otherwise. This conversion works as you’d expect for Boolean values and should do something analogous for values of other types.
  • This functionality allows the || operator to be used as a way to fall back on a default value. If you give it an expression that might produce an empty value on the left, the value on the right will be used as a replacement in that case.
  • The && operator works similarly, but the other way around. When the value to its left is something that converts to false, it returns that value, and otherwise it returns the value on its right.
  • Another important property of these two operators is that the expression to their right is evaluated only when necessary. In the case of true || X, no matter what X is—even if it’s an expression that does something terrible—the result will be true, and X is never evaluated. The same goes for false && X, which is false and will ignore X. This is called short-circuit evaluation.
  • - to negate a number
omouse

Software Engineering Code of Ethics and Professional Practice - Association for Computi... - 0 views

  • Approve software only if they have a well-founded belief that it is safe, meets specifications, passes appropriate tests, and does not diminish quality of life, diminish privacy or harm the environment. The ultimate effect of the work should be to the public good.
  • Not knowingly use software that is obtained or retained either illegally or unethically.
  • Ensure proper and achievable goals and objectives for any project on which they work or propose.
  • ...2 more annotations...
  • Ensure adequate testing, debugging, and review of software and related documents on which they work.
  • Ensure adequate documentation, including significant problems discovered and solutions adopted, for any project on which they work.
Joel Bennett

Enterprise Solutions Build Framework (SBF) - 0 views

  • Sdc.Tasks is an MSBUILD tasks library which provides over a hundred new tasks for driving continuous integration builds, deploying and testing applications and much more. The Solutions Build Framework is a set of tools and procedures that represents MSUK best practice for developing enterprise applications. This includes continuous integration build; automated multi box rig deployment; automated testing; automated documentation.
  •  
    The SBF is the "best practices" for doing continouse integration builds, automated deployment, testing, and documentation. Sdc.Tasks is a library of MSBUILD tasks which support those practices.
Joel Bennett

NMate - NUnit integration & code generation - 0 views

  •  
    nMate is a Unit Testing integration and Code Generation addin for Visual Studio. NMate is designed to work with NUnit and PartCover.
Joel Bennett

GENNIT Code Generation - 0 views

  • Access to tested generators, a designer for building your project, FXCOP'd source files, XHTML, NUnit Testing Code, VS.NET 2005/Express solution files and SQL scripts.
  •  
    An early beta of a code-generation webservice which lets you create UML-like diagrams and generate code (with tests and everything).
Joel Bennett

Unit Testing Rules From the Rules Engine - MikeWo's Musings - 0 views

  •  
    In this episode of DotNetNuggets, Mike Wo introduces a way to unit test individual rules in a Windows Workflow Foundation solution ...
Joel Bennett

WatiN Test Recorder - 0 views

  •  
    Watin is like Watir, but for .Net instead of Ruby, and ... better
Joel Bennett

Expect - Wikipedia - 0 views

  •  
    Expect is an extension to the Tcl scripting language to create an automation and testing tool for CLI applications such as telnet, ftp, passwd, fsck, rlogin, tip, ssh, et., and because it wraps the standard command-line interface, it can be used to automate any arbitrary applications that are accessed over a terminal.
Dave Cowens

Software Development Tools Directory - 0 views

  •  
    Software development tools for java, .net, php, ruby, xml, javascript, ajax, database, software testing, project management, etc.
Joel Bennett

MSTest API Rant -Bits in Motion - 0 views

  •  
    Message: don't use the Microsoft Test tools -- they are not extensible, replaceable nor compatible with anyone else's tools -- bad show, Microsoft.
Joel Bennett

PS Expect: PowerShell Scripts for Testing - CodePlex - 0 views

  •  
    A project to implement xUnit-style Assert-* functions to make it easier to use PowerShell as a testing language.
Fabien Cadet

Quirks or Standards Mode Bookmarklet - dorward.me.uk - 0 views

  •  
    « These days, many browsers can function in Standards Mode and Quirks Mode. In a nutshell, they perform an intelligence test based on the document author's choice (or lack thereof) of Doctype. If they see a "good" Doctype, they enter Standards mode and more closely follow standards, otherwise they enter Quirks and … don't. »
  •  
    These days, many browsers can function in Standards Mode and Quirks Mode. In a nutshell, they perform an intelligence test based on the document author's choice (or lack thereof) of Doctype. If they see a "good" Doctype, they enter Standards mode and more closely follow standards, otherwise they enter Quirks and … don't.
David McCart

XSS (Cross Site Scripting) Cheat Sheet - 0 views

  •  
    all about implementing an XSS attack, just for security testing, obviously
  •  
    just for security testing
Joel Bennett

PowerSlim - GitHub - 10 views

  •  
    FitNesse Slim in PowerShell for acceptance testing
Joel Bennett

MiniFuzz File Fuzzer - Microsoft Download details - 1 views

  •  
    "MiniFuzz is a very simple fuzzer designed to ease adoption of fuzz testing by non-security people who are unfamiliar with file fuzzing tools or have never used them in their current software development processes. "
longchamppas

Lunettes De Soleil Oakley Lifestyle Seule - 0 views

Chez la femme, ce n'est pas la vue, mais l'ouïe, l'odorat et le toucher qui stimulent l'érotisme. Lucie Vincent, auteur de Comment devient-on amoureux ? (Odile Jacob), considère que ces réponses so...

Lunettes De Soleil Oakley Sport Lifestyle Custom

started by longchamppas on 01 Aug 14 no follow-up yet
« First ‹ Previous 41 - 60 of 175 Next › Last »
Showing 20 items per page