that expresses Functional Requirements Specifications. For example, for Stack, the functional requirement is FILO. Therefore, we should use the Stack object as a black box in the scenario of checking FILO. BDD clearly shows that TDD lacks the description of how to write test cases, and it must be a use case. We may consider TDD testing cases as an executable requirement specification. Therefore, it facilitates rapid feedback on implementation and ref
generate API documents based on these annotations.
Jasmine: BDD for your JavaScriptJasmine is a famous javascript unit testing framework, which is an independent "behavior-driven development" framework.
ObfuscateJS: JavaScript compressorA JavaScript obfuscation tool that removes spaces and comments, and renames variables.
PEG. jsPEG. js is a JavaScript expression syntax parser that allows you to easily create complex data or a quick analyzer for c
not paying enough attention to testing as a community. There are a lot of good tools available, most of them are very useful, and we have no excuse not to write some tests for our applications.
Kiwi-a good Rspec style iOS testing framework. Based on SenTestingKit, you only need to press ⌘ U to run your use case. It also carries robust mocking and stubbing libraries and assertions.
Specta-a lightweight BDD framework similar to Kiwi, but its expecta
dependencies.
Handlebars. java: The template engine written in Java is simple in logic and supports semantic extension (semantic Mustache ).
Assumerver Pages: a common website template that supports custom tag libraries.
Thymeleaf: it is designed to replace JSP and supports XML files.
Test
The test content covers performance testing and benchmarking tools from objects to interfaces.
Apache JMeter: functional testing and performance evaluation.
Arquillian: An Integrated Testing and functio
is Nima, a browser with no name, even JS? Incremental enhancement. Want to fix all kinds of devices at a time? Responsive design.
The above are just some clever little technologies. What business does the company do? Learn more about the industry. Products for the public? Interaction Design. Why not the artist? Uidesign. Outsourcing and consulting? Design Patterns, reconstruction methods, algorithms, and data structures. Do you know Software Engineering? To learn more about agile development,
: provides HTML page templates, email templates, and general open source code generator templates.
FreeMarker: A general template engine that does not require any heavyweight or self-used dependencies.
Handlebars. java: The template engine written in Java is simple in logic and supports semantic extension (semantic Mustache ).
Assumerver Pages: a common website template that supports custom tag libraries.
Thymeleaf: it is designed to replace JSP and supports XML files.
Test
The test con
to expand.
Test
Cucumber.js: Takes a popular behavior-driven development tool and applies it to the JavaScript stack.
Jasmine: A behavioral-driven development testing framework that is not dependent on the browser, DOM, or any other JavaScript architecture, and is better suited for Web sites, node. JS projects, or applications where JavaScript can be run.
Mocha: Runs on node. JS and the browser, primarily for asynchronous testing.
Q-unit: Unit Testing framework, com
Registers are used to store specific content in VIM operations. Most normal commands and some ex commands can specify the registers associated with operations. Registers are also special variables in Vim, so they can be accessed in command lines and scripts to implement some very useful functions. Vim has many different types of registers with different roles and functions. If it is used flexibly, it makes editing work easy and efficient. This article describes the functions and usage of various
:
class Personvalidates_presence_of :namehas_many :addressesendView raw
Person. RB this gist is brought to you using
Simple gist embed.
Overall, I find myself writing more dynamic code in ruby that I wocould do in groovy. For instance, I can generate classes on the fly:
class Person View raw
Struct. RB this gist is brought to you using
Simple gist embed.
It's possible to write similar code in groovy, but it's not as elegant.Killer libs
There are some really fantastic technologies built on to
MethodString [] arr2 = {"3", "1", "2", "ACCC", "seeee", "BDD", "dddd", "cddd ", "GG", "ZZZZ", "wwww", "KKKK", "medium", "Count", "good", "Ah", "just "};List list = sort (arr2 );Showlist (list );}Public static list sort (string [] sortarr) {// you can sort 'abcd' or '123' of a character. It is a Unicode-encoded sequence and cannot contain Chinese characters.Arraylist list = new arraylist ();String temp;For (INT I = 0; I For (Int J = I + 1; j // Compar
Repeatable combination refers to a combination problem that allows repeated elements during calculation (generation) combination. For example, for a set of {a, B, c, d} with four elements, its repeated combination of C (4, 3) has 20: AAA, AAB, AAC, AAD, ABB, ABC, Abd, ACC, ACD, add, BBB, BBC, BBD, BCC, BCD, BDD, CCC, CCD, CDD, and DDD.
P (n, k) is used to determine the combination of k elements (repeated) from n elements. Therefore, this problem can b
annotations in JavaScript files. JSDoc can be used to manage large projects.
Jgrousedoc is an open source tool that generates jaavdoc-like source documents based on JavaScript annotations. Not only can it generate documents for variables and functions, but it can also generate documents for other elements, such as modules.
Yuidoc based on Nodejs, you can generate API documentation for comments in your document. It uses syntax similar to Javadoc and Doxygen, and supports real-time previe
1) Correctly save View status in AndroidUnlike the save of activity and fragment State, the view state is saved more complex.2) Java Annotation processorThere are very many Android libraries (such as Butterknife) today. Logansquare, etc.) are implemented using annotations, assuming that you do not have a deep understanding of the annotations in Java and are able to peruse this article.3) Specific explanations Dagger2Android well-known dependency injection function library Dagger2 use specific e
: like static import (the mind reminds me that this thing is very early in VB), and Java's special support for annotation allows us to do a more interesting thing.Concept flyingIn Java, what struck me most was the idea of flying around in the Java world. ORM,IOC,AOP, these few are. NET in the world, but have not seen such a strong, but if you do Java applications, you are not familiar with these few you are embarrassed to go out to greet people, so in addition to learning Java itself there is a
Spring boot can work with most popular test frameworks: Create unit Tests from spring JUnit, generate test data initialization database for testing, spring boot can be combined with BDD (Behavier Driven Development) tool , Cucumber, and Spock work together to test the application.When it comes to software development, we write a lot of code, but in another six months (or even more than a year) do you know how your code works? Through testing (unit tes
method and provides the corresponding implementation.Writing a DSL using JavaA domain-specific language (DSL) is a programming language for a specific part of a software system. They are usually smaller and less expressive than the common language of Java, which can handle most programming tasks. DSL height Exclusive: Do not ask for the screen, but to have expertise.Java BDD Framework: The following example describes some of the behavior of a stack.(
to replace JSP, supporting XML files.
TestTest content from object to interface, covering performance testing and benchmarking tools.
Apache JMeter: Functional Testing and performance evaluation.
Arquillian: Integration test and functional line test platform, integrated with Java EE container.
ASSERTJ: Supports streaming assertions to improve the readability of tests.
JMH:JVM Micro Benchmark test tool.
JUnit: Generic test framework.
Mockito: Create test objects
require any heavyweight or self-employed dependencies.
Handlebars.java: A template engine written in Java with simple logic and support for semantic extensions (semantic mustache).
JavaServer Pages: Common Web site templates that support custom tag libraries.
Thymeleaf: Designed to replace JSP, supporting XML files.
TestTest content from object to interface, covering performance testing and benchmarking tools.
Apache JMeter: Functional Testing and performance evaluatio
: Provides HTML page templates, email templates, and common open source code generator templates.
Freemarker: A generic template engine that does not require any heavyweight or self-employed dependencies.
Handlebars.java: A template engine written in Java with simple logic and support for semantic extensions (semantic mustache).
JavaServer Pages: Common Web site templates that support custom tag libraries.
Thymeleaf: Designed to replace JSP, supporting XML files.
TestTest co
simple test libraryMockery-a mock object library for testingPhake-Another simulated object library for testingProphecy-a highly selectable analog frameFaker-a pseudo data generation librarysamsui– another pseudo-data generation libraryAlice-an expressive generation libraryBehat-A behavior-driven development (BDD) testing FrameworkPho-A behavior-driven development testing frameworkMink-web Acceptance TestHTTP mock– a library that simulates HTTP reques
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.