testing.md
July 15, 2021 · View on GitHub
Bookmarks tagged [testing]
www.codever.land/bookmarks/t/testing
Modèles de typologie de tests. Voici des modèles qui servent à… | by Jean-Pierre Lambert | Jean-Pierre Lambert's blog
https://jp-lambert.me/mod%C3%A8les-de-typologie-de-tests-2cb630a47283
Dans cet article, je vous présente différents modèles qui servent à classifier les différents types de test. Le but de ces modèles est de prendre de la hauteur et comprendre pourquoi définit-on ces…
- :calendar: published on: 2019-01-29
- tags: testing
XMLUnit - Unit Testing XML for Java and .NET home page
When testing XML your application creates, simple string comparisons don't cut it as there are many different ways the same XML content is serialized to a string. It doesn't even stop with serializati...
- tags: java, .net, testing, xml, xmlunit, unit-testing
- :octocat: source code
Introduction To XMLUnit 2.x
https://www.baeldung.com/xmlunit2
XMLUnit 2.x is a powerful library that helps us test and verify XML content, and comes in particularly handy when we know exactly what that XML should contain.
And so we'll mainly be using XMLUnit in...
- tags: xmlunit, testing, java
- :octocat: source code
Unit test your Java architecture - ArchUnit home page
ArchUnit is a free, simple and extensible library for checking the architecture of your Java code using any plain Java unit test framework. That is, ArchUnit can check dependencies between packages an...
- tags: java, testing, architecture
- :octocat: source code
Testing Java Collections with AssertJ
https://medium.com/enfuse-io/testing-java-collections-with-assertj-2fa678d80952
Testing Collections in Java? You can say “Not a big deal”. I agree, but, for example, a comparison of two Lists of custom objects can be painful and it is not the only problem you can run into. Let’s ...
A Unit Tester's Guide to Mockito
https://www.toptal.com/java/a-guide-to-everyday-mockito
In this article, we’ll cover creating and configuring mocks and using them to verify the expected behavior of the system being tested. We’ll also dive a bit into Mockito’s internals to better understa...
- tags: testing, java, mockito, junit, unit-testing
- :octocat: source code
UnitTest
https://martinfowler.com/bliki/UnitTest.html
Unit testing is often talked about in software development, and is a term that I've been familiar with during my whole time writing programs. Like most software development terminology, however, it's ...
- tags: testing, unit-testing
Justin Searls – Please don’t mock me - 51min
https://www.youtube.com/watch?v=Af4M8GMoxi4
Confusion over test doubles starts with what to even call them. You might know them as stubs, proxies, mocks, or spies (but I call them test doubles, because a book you've probably never read declared...
- :calendar: published on: 2018-03-05
- tags: testing, tdd, test-driven-development, javascript, web-development
Testing Angular with jest
https://ordina-jworks.github.io/testing/2018/08/03/testing-angular-with-jest.html
Examples about how replace some Jasmine specific code by Jest specific code.
Unit Testing in Angular: Stubs vs Spies vs Mocks
https://www.amadousall.com/unit-testing-angular-stubs-vs-spies-vs-mocks/
In this article, I will show you the differences between the various kinds of test doubles, and how to use them when unit testing Angular applications using Jasmine.
- :calendar: published on: 2018-02-28
- tags: testing, jasmine, sinonjs, test-double, angular
GitHub - skovhus/jest-codemods: Codemods for migrating to Jest https://github.com/facebook/jest 👾
https://github.com/skovhus/jest-codemods
Codemods that simplify migrating JavaScript and TypeScript test files from AVA, Chai, [Expect.js (by Automattic)](https://github.com/A...
- tags: jest, testing, migration
- :octocat: source code
Continuous Integration with GitLab CI - 52min
https://www.youtube.com/watch?v=EuwLdbCu3DE
This session will introduce attendees to the basics of adding GitLab CI/CD to a project, and then build upon those basics to explore features such as dependency caching, build artifacts, GitLab Pages,...
- :calendar: published on: 2019-03-10
- tags: gitlab, testing, continuous-integration, continuous-delivery
Is your REST assured? - blog.
https://blog.jayway.com/2011/06/04/is-your-rest-assured/
A couple of months ago I introduced a new open source Java framework for simple automated testing of REST/HTTP services called REST Assured. A lot of things have happended to the framework since then ...
- :calendar: published on: 2011-06-04
- tags: rest-assured, rest, testing
Comparing the top 3 Javascript testing frameworks
https://dev.to/heroku/comparing-the-top-3-javascript-testing-frameworks-2cco
In this article, I'm going to compare three popular frameworks—Mocha, Jest, and Jasmine—to help you make a more informed decision. I'll look at how these frameworks handle common test scenarios, such ...
- :calendar: published on: 2020-03-18
- tags: javascript, testing
minimaxir/big-list-of-naughty-strings
https://github.com/minimaxir/big-list-of-naughty-strings
The Big List of Naughty Strings is an evolving list of strings which have a high probability of causing issues when used as user-input data. This is intended for use in helping both automated and manu...
- tags: testing, user-input, user-interface
- :octocat: source code
💥 Testing Asynchronous Code with fakeAsync - Full Example - 6min
https://www.youtube.com/watch?v=vRqRuPoFmsA
Example video about testing a promise with fakeAsync
Angular Testing: async and fakeAsync
https://www.digitalocean.com/community/tutorials/angular-testing-async-fakeasync
Testing asynchronous code has always been a challenge, but it’s now easier than ever, thanks to the async and fakeAsync utilities available for Angular 2+. This should make your Angular unit and i...
Troubleshooting · Jest
https://jestjs.io/docs/en/troubleshooting
Uh oh, something went wrong? Use this guide to resolve issues with Jest.
Rest API Testing With JMeter (Step by Step Guide) - Jmeter - OctoPerf
https://octoperf.com/blog/2018/04/23/jmeter-rest-api-testing/
Test a Json Rest API through a concrete example, OctoPerf’s Json Rest API.
And this guide will completely get you through the following knowledge:
Apache JMeter home page
The Apache JMeter™ application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Appli...
- tags: jmeter, performance, testing, java
Testing a Spring Batch Job
https://www.baeldung.com/spring-batch-testing-job
In this tutorial, we'll explore the various approaches of testing a Spring Batch job.
End-to-end testing verifies the complete execution of the job. Testing individual steps may help in complex scena...
- tags: spring-batch, testing
- :octocat: source code
Don't Mock What You Don't Own
https://maksimivanov.com/posts/dont-mock-what-you-dont-own/
I was refactoring specs of some Rails application when I decided to mock the class of CarierWave. I wanted to be able to check for specific…
UnitTest : Solitary or Sociable | Martin Fowler
https://martinfowler.com/bliki/UnitTest.html#SolitaryOrSociable
- :calendar: published on: 2014-05-05
- tags: testing, unit-testing
Continuous Testing for Enterprise Organizations - The ACT Framework
https://www.theactframework.com/
The ACT Framework contains all the ingredients for Continuous Testing in enterprise organizations
- tags: testing
Agile Testing Mindset and the Role of the Agile Tester
https://devqa.io/agile/agile-testing-mindset-tester-role-agile-team/
In an Agile team, testers must closely collaborate with all other team members and with business stakeholders. This has a number of implications in terms of the skills a tester must have and the activ...
How Pact works
https://pactflow.io/how-pact-works/#slide-1
Explains through animations how pact works.
- tags: pact, contract-testing, testing
Introduction to Consumer-Driven Contract Testing
https://kreuzwerker.de/post/introduction-to-consumer-driven-contract-testing
Over the past year, we have had the opportunity to introduce consumer-driven contract testing at one of our larger customers, idealo. There were a lot of lessons learned and pitfalls discovered (some ...
- tags: contract-testing, testing, pact
Guide to JUnit 5 Parameterized Tests | Baeldung
https://www.baeldung.com/parameterized-tests-junit-5
JUnit 5, the next generation of JUnit, facilitates writing developer tests with new and shiny features.
One such feature is parameterized tests. This feature enables us to execute a single test metho...
- tags: testing, junit5
- :octocat: source code
JUnit 5: Die Neuerungen im Überblick
https://blog.oio.de/2016/11/29/junit-5-die-neuerungen-im-uberblick/
Einführung in JUnit5
9 Magical Chrome Extensions for QA Testing
https://medium.com/ideas-by-crema/9-magical-chrome-extensions-for-qa-testing-14a710a097bb
Chrome extension options are many, but there are a few add-ons that are pure wizardry for browser based testing. Here are 9 of my favorites that help me test faster, write better bugs, and cover more ...
- :calendar: published on: 2018-03-09
- tags: testing, google-chrome-extension
Experimental C# with Scientist .NET
https://dev.to/integerman/experimental-c-with-scientist-net-10ap
A description of library, which enables testing different implementations of code.
Running categorized Tests using JUnit, Maven and Annotated-Test Suites
https://www.hascode.com/2012/12/running-categorized-tests-using-junit-maven-and-annotated-test-suite...
Sometimes we need to classify the tests in a project and a possible solution to achieve this goal is to assign different categories to the tests.
Often we’re doing this to separate the execution of f...
- :calendar: published on: 2012-12-06
- tags: maven, maven-plugin, testing, java
- :octocat: source code
GitHub - Marak/faker.js Home Page
https://github.com/marak/Faker.js/
generate massive amounts of realistic fake data in Node.js and the browser - Marak/faker.js
- tags: node.js, mocking, testing, javascript, fake-data
- :octocat: source code
Online Web service testing tool
https://extendsclass.com/web-service-tester.html
It is a web-based web service testing tool written in JavaScript. It allows to make test cases in order to validate APIs. Write test cases and run them online!
- :calendar: published on: 2019-01-01
- tags: online, api, testing
- :octocat: source code
enzyme
https://github.com/airbnb/enzyme
JavaScript Testing utilities for React
- tags: reactjs, testing
- :octocat: source code
react-testing-library
https://github.com/testing-library/react-testing-library
Simple and complete React DOM testing utilities
- tags: reactjs, testing
- :octocat: source code
react-hooks-testing-library
https://github.com/mpeyper/react-hooks-testing-library
React hooks testing utilities that encourage good testing practices
- tags: reactjs, testing
- :octocat: source code
rust-fuzz/afl.rs
https://github.com/rust-fuzz/afl.rs
A Rust fuzzer, using AFL
- tags: rust, testing
- :octocat: source code
trust
https://github.com/japaric/trust
A Travis CI and AppVeyor template to test your Rust crate on 5 architectures and publish binary releases of it for Linux, macOS and Windows
- tags: rust, testing
- :octocat: source code
deep-freeze
https://github.com/substack/deep-freeze
Recursively Object.freeze() on objects and functions - substack/deep-freeze
- tags: javascript, testing
- :octocat: source code
Hurl.it
Make HTTP requests with a simple web-based HTTP client -- like curl in the cloud.
httpie
https://github.com/jkbrzt/httpie
Command line HTTP client, far more dev-friendly than curl.
- tags: rest, testing, querying
- :octocat: source code
Postman REST Client
https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm
Chrome extension essential to test manually REST API.
resty
https://github.com/micha/resty
Little command line REST client that you can use in pipelines (bash or zsh).
- tags: rest, testing, querying
- :octocat: source code
jq
https://github.com/stedolan/jq
Command line JSON processor, to use in combination with a command-line HTTP client like cURL.
- tags: rest, testing, querying
- :octocat: source code
HttpMaster
GUI tool for testing REST APIs and services. Windows OS only.
Http-console
https://github.com/cloudhead/http-console
Command line interface for HTTP that let you speak HTTP like a local
- tags: rest, testing, querying
- :octocat: source code
HTTP Prompt
https://github.com/eliangcs/http-prompt
HTTP Prompt is an interactive command-line HTTP client featuring autocomplete and syntax highlighting, built on HTTPie and prompt_toolkit.
- tags: rest, testing, querying
- :octocat: source code
Insomnia
https://github.com/getinsomnia/insomnia
Cross-platform HTTP and GraphQL Client
- tags: rest, testing, querying
- :octocat: source code
RequestBin
Inspect and debug webhook requests sent by your clients or third-party APIs.
httpbin
HTTP request and response service - a/k/a Swiss Army Knife for HTTP.
FakeRest
https://github.com/marmelab/FakeRest
Patch XMLHttpRequest to fake a REST API client-side.
- tags: rest, testing, mocking
- :octocat: source code
Mocky.io
Free online service to create fake HTTP responses.
Swagger API Mock
https://github.com/bulkismaslom/swagger-api-mock
Mock RESTful API based on swagger schema
- tags: rest, testing, mocking
- :octocat: source code
Request Baskets
https://github.com/darklynx/request-baskets
Service to collect HTTP requests and inspect them via RESTful API or web UI.
- tags: rest, testing, mocking
- :octocat: source code
Deck of Cards API
Open API for simulating a deck of cards.
ProgrammableWeb
http://www.programmableweb.com/apis/directory
The world's largest API repository.
Public APIS
Explore The Largest API Directory In The Galaxy.
Marvel Comics API
Query characters, stories, events about Marvel superheroes.
JSON Placeholder
http://jsonplaceholder.typicode.com/
Free online REST service that you can use whenever you need some fake data.
APIs.guru
Wikipedia for Web APIs, each API has OpenAPI/Swagger description.
chaoskube
https://github.com/linki/chaoskube
periodically kills random pods in your Kubernetes cluster
- tags: kubernetes, testing
- :octocat: source code
k8s-testsuite
https://github.com/mrahbar/k8s-testsuite
Helm chart for network and loadtesting of a Kubernetes cluster
- tags: kubernetes, testing
- :octocat: source code
kboom
https://github.com/mhausenblas/kboom
The Kubernetes scale & soak load tester
- tags: kubernetes, testing
- :octocat: source code
kind
https://github.com/bsycorp/kind
A single node cluster to run your CI tests against thats ready in 30 seconds
- tags: kubernetes, testing
- :octocat: source code
kube-monkey
https://github.com/asobti/kube-monkey
Chaos Monkey for Kubernetes clusters
- tags: kubernetes, testing, fault-tolerance
- :octocat: source code
Kubeadm-dind-cluster
https://github.com/kubernetes-sigs/kubeadm-dind-cluster
multi-node test cluster based on kubeadm
- tags: kubernetes, testing
- :octocat: source code
Litmus
https://github.com/openebs/litmus
Chaos engineering for stateful workloads on Kubernetes
- tags: kubernetes, testing
- :octocat: source code
PowerfulSeal
https://github.com/bloomberg/powerfulseal
kills targeted pods and machines to test your software reliability
- tags: kubernetes, testing
- :octocat: source code
Sonobuoy
https://github.com/heptio/sonobuoy
Diagnostic tool that runs Kubernetes conformance tests
- tags: kubernetes, testing
- :octocat: source code
Test-Infra
https://github.com/kubernetes/test-infra
Test infrastructure for the Kubernetes project. Contribute to kubernetes/test-infra development by creating an account on GitHub.
- tags: kubernetes, testing
- :octocat: source code
KubeInvaders
https://github.com/lucky-sideburn/KubeInvaders
Gamified Chaos engineering tool for Kubernetes Clusters. It is like Space Invaders but alien ships are pods.
- tags: kubernetes, testing
- :octocat: source code
assert
https://github.com/go-playground/assert
Basic Assertion Library used along side native go testing, with building blocks for custom assertions.
- tags: go, testing, test-framework
- :octocat: source code
badio
https://github.com/cavaliercoder/badio
Extensions to Go's testing/iotest package.
- tags: go, testing, test-framework
- :octocat: source code
baloo
https://github.com/h2non/baloo
Expressive and versatile end-to-end HTTP API testing made easy.
- tags: go, testing, test-framework
- :octocat: source code
biff
https://github.com/fulldump/biff
Bifurcation testing framework, BDD compatible.
- tags: go, testing, test-framework
- :octocat: source code
bro
https://github.com/marioidival/bro
Watch files in directory and run tests for them.
- tags: go, testing, test-framework
- :octocat: source code
charlatan
https://github.com/percolate/charlatan
Tool to generate fake interface implementations for tests.
- tags: go, testing, test-framework
- :octocat: source code
commander
https://github.com/SimonBaeumer/commander
Tool for testing cli applications on windows, linux and osx.
- tags: go, testing, test-framework
- :octocat: source code
cupaloy
https://github.com/bradleyjkemp/cupaloy
Simple snapshot testing addon for your test framework.
- tags: go, testing, test-framework
- :octocat: source code
dbcleaner
https://github.com/khaiql/dbcleaner
Clean database for testing purpose, inspired by database_cleaner in Ruby.
- tags: go, testing, test-framework
- :octocat: source code
dsunit
https://github.com/viant/dsunit
Datastore testing for SQL, NoSQL, structured files.
- tags: go, testing, test-framework
- :octocat: source code
endly
https://github.com/viant/endly
Declarative end to end functional testing.
- tags: go, testing, test-framework
- :octocat: source code
frisby
https://github.com/verdverm/frisby
REST API testing framework.
- tags: go, testing, test-framework
- :octocat: source code
ginkgo
BDD Testing Framework for Go.
- tags: go, testing, test-framework
go-carpet
https://github.com/msoap/go-carpet
Tool for viewing test coverage in terminal.
- tags: go, testing, test-framework
- :octocat: source code
go-cmp
https://github.com/google/go-cmp
Package for comparing Go values in tests.
- tags: go, testing, test-framework
- :octocat: source code
go-mutesting
https://github.com/zimmski/go-mutesting
Mutation testing for Go source code.
- tags: go, testing, test-framework
- :octocat: source code
go-testdeep
https://github.com/maxatome/go-testdeep
Extremely flexible golang deep comparison, extends the go testing package.
- tags: go, testing, test-framework
- :octocat: source code
go-vcr
https://github.com/dnaeon/go-vcr
Record and replay your HTTP interactions for fast, deterministic and accurate tests.
- tags: go, testing, test-framework
- :octocat: source code
goblin
https://github.com/franela/goblin
Mocha like testing framework fo Go.
- tags: go, testing, test-framework
- :octocat: source code
gocheck
More advanced testing framework alternative to gotest.
- tags: go, testing, test-framework
GoConvey
https://github.com/smartystreets/goconvey/
BDD-style framework with web UI and live reload.
- tags: go, testing, test-framework
- :octocat: source code
gocrest
https://github.com/corbym/gocrest
Composable hamcrest-like matchers for Go assertions.
- tags: go, testing, test-framework
- :octocat: source code
godog
https://github.com/DATA-DOG/godog
Cucumber or Behat like BDD framework for Go.
- tags: go, testing, test-framework
- :octocat: source code
gofight
https://github.com/appleboy/gofight
API Handler Testing for Golang Router framework.
- tags: go, testing, test-framework
- :octocat: source code
gogiven
https://github.com/corbym/gogiven
YATSPEC-like BDD testing framework for Go.
- tags: go, testing, test-framework
- :octocat: source code
gomatch
https://github.com/jfilipczyk/gomatch
library created for testing JSON against patterns.
- tags: go, testing, test-framework
- :octocat: source code
gomega
Rspec like matcher/assertion library.
- tags: go, testing, test-framework
GoSpec
https://github.com/orfjackal/gospec
BDD-style testing framework for the Go programming language.
- tags: go, testing, test-framework
- :octocat: source code
gospecify
https://github.com/stesla/gospecify
This provides a BDD syntax for testing your Go code. It should be familiar to anybody who has used libraries such as rspec.
- tags: go, testing, test-framework
- :octocat: source code
gosuite
https://github.com/pavlo/gosuite
Brings lightweight test suites with setup/teardown facilities to testing by leveraging Go1.7's Subtests.
- tags: go, testing, test-framework
- :octocat: source code
gotest.tools
https://github.com/gotestyourself/gotest.tools
A collection of packages to augment the go testing package and support common patterns.
- tags: go, testing, test-framework
- :octocat: source code
Hamcrest
https://github.com/rdrdr/hamcrest
fluent framework for declarative Matcher objects that, when applied to input values, produce self-describing results.
- tags: go, testing, test-framework
- :octocat: source code
httpexpect
https://github.com/gavv/httpexpect
Concise, declarative, and easy to use end-to-end HTTP and REST API testing.
- tags: go, testing, test-framework
- :octocat: source code
jsonassert
https://github.com/kinbiko/jsonassert
Package for verifying that your JSON payloads are serialized correctly.
- tags: go, testing, test-framework
- :octocat: source code
restit
https://github.com/yookoala/restit
Go micro framework to help writing RESTful API integration test.
- tags: go, testing, test-framework
- :octocat: source code
testcase
https://github.com/adamluzsi/testcase
Idiomatic testing framework for Behavior Driven Development.
- tags: go, testing, test-framework
- :octocat: source code
testfixtures
https://github.com/go-testfixtures/testfixtures
A helper for Rails' like test fixtures to test database applications.
- tags: go, testing, test-framework
- :octocat: source code
Testify
https://github.com/stretchr/testify
Sacred extension to the standard go testing package.
- tags: go, testing, test-framework
- :octocat: source code
testmd
https://godoc.org/github.com/tvastar/test/cmd/testmd
Convert markdown snippets into testable go code.
- tags: go, testing, test-framework
- :octocat: source code
testsql
https://github.com/zhulongcheng/testsql
Generate test data from SQL files before testing and clear it after finished.
- tags: go, testing, test-framework
- :octocat: source code
Tt
Simple and colorful test tools.
- tags: go, testing, test-framework
- :octocat: source code
wstest
https://github.com/posener/wstest
Websocket client for unit-testing a websocket http.Handler.
- tags: go, testing, test-framework
- :octocat: source code
counterfeiter
https://github.com/maxbrunsfeld/counterfeiter
Tool for generating self-contained mock objects.
- tags: go, testing, mocking
- :octocat: source code
go-sqlmock
https://github.com/DATA-DOG/go-sqlmock
Mock SQL driver for testing database interactions.
- tags: go, testing, mocking
- :octocat: source code
go-txdb
https://github.com/DATA-DOG/go-txdb
Single transaction based database driver mainly for testing purposes.
- tags: go, testing, mocking
- :octocat: source code
gock
Versatile HTTP mocking made easy.
- tags: go, testing, mocking
- :octocat: source code
gomock
https://github.com/golang/mock
Mocking framework for the Go programming language.
- tags: go, testing, mocking
- :octocat: source code
govcr
https://github.com/seborama/govcr
HTTP mock for Golang: record and replay HTTP interactions for offline testing.
- tags: go, testing, mocking
- :octocat: source code
hoverfly
https://github.com/SpectoLabs/hoverfly
HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI.
- tags: go, testing, mocking
- :octocat: source code
httpmock
https://github.com/jarcoal/httpmock
Easy mocking of HTTP responses from external resources.
- tags: go, testing, mocking
- :octocat: source code
minimock
https://github.com/gojuno/minimock
Mock generator for Go interfaces.
- tags: go, testing, mocking
- :octocat: source code
mockhttp
https://github.com/tv42/mockhttp
Mock object for Go http.ResponseWriter.
- tags: go, testing, mocking
- :octocat: source code
go-fuzz
https://github.com/dvyukov/go-fuzz
Randomized testing system.
- tags: go, testing, debugging, fuzzing
- :octocat: source code
gofuzz
https://github.com/google/gofuzz
Library for populating go objects with random values.
- tags: go, testing, debugging, fuzzing
- :octocat: source code
Tavor
https://github.com/zimmski/tavor
Generic fuzzing and delta-debugging framework.
- tags: go, testing, debugging, fuzzing
- :octocat: source code
cdp
https://github.com/mafredri/cdp
Type-safe bindings for the Chrome Debugging Protocol that can be used with browsers or other debug targets that implement it.
- tags: go, testing, debugging, fuzzing
- :octocat: source code
chromedp
https://github.com/knq/chromedp
a way to drive/test Chrome, Safari, Edge, Android Webviews, and other browsers supporting the Chrome Debugging Protocol.
- tags: go, testing, debugging, fuzzing
- :octocat: source code
ggr
https://github.com/aerokube/ggr
a lightweight server that routes and proxies Selenium Wedriver requests to multiple Selenium hubs.
- tags: go, testing, debugging, fuzzing
- :octocat: source code
selenoid
https://github.com/aerokube/selenoid
alternative Selenium hub server that launches browsers within containers.
- tags: go, testing, debugging, fuzzing
- :octocat: source code
failpoint
https://github.com/pingcap/failpoint
An implementation of failpoints for Golang.
- tags: go, testing, debugging, fuzzing
- :octocat: source code
RSpec
https://github.com/rspec/rspec
Behaviour Driven Development for Ruby.
- tags: ruby, testing
- :octocat: source code
Emoji-RSpec
https://github.com/cupakromer/emoji-rspec
Custom Emoji Formatters for RSpec.
- tags: ruby, testing
- :octocat: source code
Fuubar
https://github.com/thekompanee/fuubar
The instafailing RSpec progress bar formatter.
- tags: ruby, testing
- :octocat: source code
Nyan Cat
https://github.com/mattsears/nyan-cat-formatter
Nyan Cat inspired RSpec formatter!
- tags: ruby, testing
- :octocat: source code
Aruba
https://github.com/cucumber/aruba
Testing command line applications with cucumber and rspec.
- tags: ruby, testing
- :octocat: source code
Bacon
https://github.com/chneukirchen/bacon
A small RSpec clone.
- tags: ruby, testing
- :octocat: source code
Capybara
https://github.com/teamcapybara/capybara
Acceptance test framework for web applications.
- tags: ruby, testing
- :octocat: source code
Cucumber
https://github.com/cucumber/cucumber
BDD that talks to domain experts first and code second.
- tags: ruby, testing
- :octocat: source code
Cutest
https://github.com/djanowski/cutest
Isolated tests in Ruby.
- tags: ruby, testing
- :octocat: source code
Howitzer
https://github.com/strongqa/howitzer
Ruby based framework for acceptance testing
- tags: ruby, testing
- :octocat: source code
Konacha
https://github.com/jfirebaugh/konacha
Test your Rails application's JavaScript with the mocha test framework and chai assertion library.
- tags: ruby, testing
- :octocat: source code
minitest
https://github.com/seattlerb/minitest
minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking.
- tags: ruby, testing
- :octocat: source code
Mocha
https://github.com/freerange/mocha
Mocha is a mocking and stubbing library for Ruby.
- tags: ruby, testing
- :octocat: source code
RR
A test double framework that features a rich selection of double techniques and a terse syntax.
- tags: ruby, testing
- :octocat: source code
shoulda-matchers
https://github.com/thoughtbot/shoulda-matchers
Provides Test::Unit- and RSpec-compatible one-liners that test common Rails functionality. These tests would otherwise be much longer, more complex, and error-prone.
- tags: ruby, testing
- :octocat: source code
Spinach
https://github.com/codegram/spinach
Spinach is a high-level BDD framework that leverages the expressive Gherkin language (used by Cucumber) to help you define executable specifications of your application or library's acceptance criteri...
- tags: ruby, testing
- :octocat: source code
Spork
https://github.com/sporkrb/spork
A DRb server for testing frameworks (RSpec / Cucumber currently).
- tags: ruby, testing
- :octocat: source code
Test::Unit
Test::Unit is a xUnit family unit testing framework for Ruby.
Fabrication
A simple and powerful object generation library.
factory_bot
https://github.com/thoughtbot/factory_bot
A library for setting up Ruby objects as test data.
- tags: ruby, testing
- :octocat: source code
Fake Person
https://github.com/adamcooke/fake-person
Uses some of the most popular given & surnames in the US & UK.
- tags: ruby, testing
- :octocat: source code
faker
https://github.com/stympy/faker
A library for generating fake data such as names, addresses, and phone numbers.
- tags: ruby, testing
- :octocat: source code
ffaker
https://github.com/ffaker/ffaker
A faster Faker, generates dummy data, rewrite of faker.
- tags: ruby, testing
- :octocat: source code
Forgery
https://github.com/sevenwire/forgery
Easy and customizable generation of forged data.
- tags: ruby, testing
- :octocat: source code
Machinist
https://github.com/notahat/machinist
Fixtures aren't fun. Machinist is.
- tags: ruby, testing
- :octocat: source code
ActiveMocker
https://github.com/zeisler/active_mocker
Generate mocks from ActiveRecord models for unit tests that run fast because they don’t need to load Rails or a database.
- tags: ruby, testing
- :octocat: source code
DuckRails
https://github.com/iridakos/duckrails
Tool for mocking API endpoints quickly & dynamically.
- tags: ruby, testing
- :octocat: source code
TestXml
https://github.com/alovak/test_xml
TestXml is a small extension for testing XML/HTML.
- tags: ruby, testing
- :octocat: source code
WebMock
https://github.com/bblimke/webmock
Library for stubbing and setting expectations on HTTP requests.
- tags: ruby, testing
- :octocat: source code
Selenium WebDriver
https://github.com/SeleniumHQ/selenium/tree/master/rb
Ruby bindings for WebDriver.
- tags: ruby, testing
- :octocat: source code
API Taster
https://github.com/fredwu/api_taster
A quick and easy way to visually test your Rails application's API.
- tags: ruby, testing
- :octocat: source code
Poltergeist
https://github.com/teampoltergeist/poltergeist
A PhantomJS driver for Capybara.
- tags: ruby, testing
- :octocat: source code
Watir
https://github.com/watir/watir/
Web application testing in Ruby.
- tags: ruby, testing
- :octocat: source code
Appraisal
https://github.com/thoughtbot/appraisal
Appraisal integrates with bundler and rake to test your library against different versions of dependencies.
- tags: ruby, testing
- :octocat: source code
gitarro
https://github.com/openSUSE/gitarro
Run, retrigger, handle all type and OS-independent tests against your GitHub Pull Requests.
- tags: ruby, testing
- :octocat: source code
Knapsack
https://github.com/ArturT/knapsack
Optimal test suite parallelisation across CI nodes for RSpec, Cucumber, Minitest, Spinach and Turnip.
- tags: ruby, testing
- :octocat: source code
mutant
Mutant is a mutation testing tool for Ruby.
- tags: ruby, testing
- :octocat: source code
Parallel Tests
https://github.com/grosser/parallel_tests
Speedup Test::Unit + RSpec + Cucumber by running parallel on multiple CPUs (or cores).
- tags: ruby, testing
- :octocat: source code
power_assert
https://github.com/k-tsj/power_assert
Power Assert for Ruby.
- tags: ruby, testing
- :octocat: source code
Ruby-JMeter
https://github.com/flood-io/ruby-jmeter
A Ruby based DSL for building JMeter test plans.
- tags: ruby, testing
- :octocat: source code
Spring
https://github.com/rails/spring
Preloads your rails environment in the background for faster testing and Rake tasks.
- tags: ruby, testing
- :octocat: source code
timecop
https://github.com/travisjeffery/timecop
Provides "time travel" and "time freezing" capabilities, making it dead simple to test time-dependent code.
- tags: ruby, testing
- :octocat: source code
vcr
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
- tags: ruby, testing
- :octocat: source code
Zapata
https://github.com/Nedomas/zapata
Who has time to write tests? This is a revolutionary tool to make them write themselves.
- tags: ruby, testing
- :octocat: source code
pytest
https://docs.pytest.org/en/latest/
A mature full-featured Python testing tool.
- tags: python, testing, frameworks
hypothesis
https://github.com/HypothesisWorks/hypothesis
Hypothesis is an advanced Quickcheck style property based testing library.
- tags: python, testing, frameworks
- :octocat: source code
nose2
https://github.com/nose-devs/nose2
The successor to nose, based on `unittest2.
- tags: python, testing, frameworks
- :octocat: source code
Robot Framework
https://github.com/robotframework/robotframework
A generic test automation framework.
- tags: python, testing, frameworks
- :octocat: source code
unittest
https://docs.python.org/3/library/unittest.html
(Python standard library) Unit testing framework.
- tags: python, testing, frameworks
green
https://github.com/CleanCut/green
A clean, colorful test runner.
- tags: python, testing, test-runner
- :octocat: source code
mamba
http://nestorsalceda.github.io/mamba/
The definitive testing tool for Python. Born under the banner of BDD.
- tags: python, testing, test-runner
tox
https://tox.readthedocs.io/en/latest/
Auto builds and tests distributions in multiple Python versions
- tags: python, testing, test-runner
locust
https://github.com/locustio/locust
Scalable user load testing tool written in Python.
- tags: python, testing, gui, web
- :octocat: source code
PyAutoGUI
https://github.com/asweigart/pyautogui
PyAutoGUI is a cross-platform GUI automation Python module for human beings.
- tags: python, testing, gui, web
- :octocat: source code
Selenium
https://pypi.python.org/pypi/selenium
Python bindings for Selenium WebDriver.
sixpack
https://github.com/seatgeek/sixpack
A language-agnostic A/B Testing framework.
- tags: python, testing, gui, web
- :octocat: source code
splinter
https://github.com/cobrateam/splinter
Open source tool for testing web applications.
- tags: python, testing, gui, web
- :octocat: source code
doublex
https://pypi.python.org/pypi/doublex
Powerful test doubles framework for Python.
freezegun
https://github.com/spulec/freezegun
Travel through time by mocking the datetime module.
- tags: python, testing, mocking
- :octocat: source code
httmock
https://github.com/patrys/httmock
A mocking library for requests for Python 2.6+ and 3.2+.
- tags: python, testing, mocking
- :octocat: source code
httpretty
https://github.com/gabrielfalcao/HTTPretty
HTTP request mock tool for Python.
- tags: python, testing, mocking
- :octocat: source code
mock
https://docs.python.org/3/library/unittest.mock.html
(Python standard library) A mocking and patching library.
Mocket
https://github.com/mindflayer/python-mocket
Socket Mock Framework plus HTTP[S]/asyncio/gevent mocking library with recording/replaying capability.
- tags: python, testing, mocking
- :octocat: source code
responses
https://github.com/getsentry/responses
A utility library for mocking out the requests Python library.
- tags: python, testing, mocking
- :octocat: source code
VCR.py
https://github.com/kevin1024/vcrpy
Record and replay HTTP interactions on your tests.
- tags: python, testing, mocking
- :octocat: source code
factory_boy
https://github.com/FactoryBoy/factory_boy
A test fixtures replacement for Python.
- tags: python, testing, objectfactory
- :octocat: source code
mixer
Another fixtures replacement. Supported Django, Flask, SQLAlchemy, Peewee and etc.
- tags: python, testing, objectfactory
- :octocat: source code
model_mommy
https://github.com/vandersonmota/model_mommy
Creating random fixtures for testing in Django.
- tags: python, testing, objectfactory
- :octocat: source code
coverage
https://pypi.python.org/pypi/coverage
Code coverage measurement.
- tags: python, testing, code-coverage
mimesis
https://github.com/lk-geimfari/mimesis
is a Python library that help you generate fake data.
- tags: python, testing, fake-data
- :octocat: source code
fake2db
https://github.com/emirozer/fake2db
Fake database generator.
- tags: python, testing, fake-data
- :octocat: source code
faker
https://github.com/joke2k/faker
A Python package that generates fake data.
- tags: python, testing, fake-data
- :octocat: source code
radar
https://pypi.python.org/pypi/radar
Generate random datetime / time.
FuckIt.py
https://github.com/ajalt/fuckitpy
FuckIt.py uses state-of-the-art technology to make sure your Python code runs whether it has any right to or not.
- tags: python, testing, error-handling
- :octocat: source code
mocha
https://github.com/mochajs/mocha
Simple, flexible, fun javascript test framework for node.js & the browser.
- tags: javascript, testing, frameworks
- :octocat: source code
jasmine
https://github.com/jasmine/jasmine
DOM-less simple JavaScript testing framework.
- tags: javascript, testing, frameworks
- :octocat: source code
qunit
https://github.com/jquery/qunit
An easy-to-use JavaScript Unit Testing framework.
- tags: javascript, testing, frameworks
- :octocat: source code
prova
Node & Browser test runner based on Tape and Browserify
- tags: javascript, testing, frameworks
- :octocat: source code
DalekJS
https://github.com/dalekjs/dalek
Automated cross browser functional testing with JavaScript
- tags: javascript, testing, frameworks
- :octocat: source code
Protractor
https://github.com/angular/protractor
Protractor is an end-to-end test framework for AngularJS applications.
- tags: javascript, testing, frameworks
- :octocat: source code
ava
🚀 Futuristic JavaScript test runner
- tags: javascript, testing, frameworks
- :octocat: source code
chai
https://github.com/chaijs/chai
BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.
- tags: javascript, testing, assertion
- :octocat: source code
Enzyme
http://airbnb.io/enzyme/index.html
Enzyme is a JavaScript Testing utility for React that makes it easier to assert, manipulate, and traverse your React Components' output.
- tags: javascript, testing, assertion
react testing library
https://github.com/kentcdodds/react-testing-library
Simple and complete React DOM testing utilities that encourage good testing practices.
- tags: javascript, testing, assertion
- :octocat: source code
expect.js
https://github.com/Automattic/expect.js
Minimalistic BDD-style assertions for Node.JS and the browser.
- tags: javascript, testing, assertion
- :octocat: source code
istanbul
https://github.com/gotwarlost/istanbul
Yet another JS code coverage tool.
- tags: javascript, testing, coverage
- :octocat: source code
blanket
https://github.com/alex-seville/blanket
A simple code coverage library for javascript. Designed to be easy to install and use, for both browser and nodejs.
- tags: javascript, testing, coverage
- :octocat: source code
JSCover
https://github.com/tntim96/JSCover
JSCover is a tool that measures code coverage for JavaScript programs.
- tags: javascript, testing, coverage
- :octocat: source code
phantomjs
https://github.com/ariya/phantomjs
Scriptable Headless WebKit.
- tags: javascript, testing, runner
- :octocat: source code
slimerjs
https://github.com/laurentj/slimerjs
A PhantomJS-like tool running Gecko.
- tags: javascript, testing, runner
- :octocat: source code
casperjs
https://github.com/casperjs/casperjs
Navigation scripting & testing utility for PhantomJS and SlimerJS.
- tags: javascript, testing, runner
- :octocat: source code
zombie
https://github.com/assaf/zombie
Insanely fast, full-stack, headless browser testing using node.js.
- tags: javascript, testing, runner
- :octocat: source code
totoro
https://github.com/totorojs/totoro
A simple and stable cross-browser testing tool.
- tags: javascript, testing, runner
- :octocat: source code
karma
https://github.com/karma-runner/karma
Spectacular Test Runner for JavaScript.
- tags: javascript, testing, runner
- :octocat: source code
yolpo
A statement-by-statement javascript interpreter in the browser.
- tags: javascript, testing, runner
AVA
Futuristic test runner.
Mocha
Feature-rich test framework making asynchronous testing simple and fun.
nyc
Code coverage tool built on istanbul that works with subprocesses.
- tags: node.js, testing
- :octocat: source code
tap
https://github.com/isaacs/node-tap
TAP test framework.
- tags: node.js, testing
- :octocat: source code
power-assert
https://github.com/power-assert-js/power-assert
Provides descriptive assertion messages through the standard assert interface.
- tags: node.js, testing
- :octocat: source code
Mochify
https://github.com/mantoni/mochify.js
TDD with Browserify, Mocha, PhantomJS and WebDriver.
- tags: node.js, testing
- :octocat: source code
trevor
https://github.com/vdemedes/trevor
Run tests against multiple versions of Node.js without switching versions manually or pushing to Travis CI.
- tags: node.js, testing
- :octocat: source code
loadtest
https://github.com/alexfernandez/loadtest
Run load tests for your web application, with an API for automation.
- tags: node.js, testing
- :octocat: source code
Sinon.JS
https://github.com/sinonjs/sinon
Test spies, stubs and mocks.
- tags: node.js, testing
- :octocat: source code
navit
https://github.com/nodeca/navit
PhantomJS / SlimerJS wrapper to simplify browser test scripting.
- tags: node.js, testing
- :octocat: source code
Nock
HTTP mocking and expectations.
- tags: node.js, testing
- :octocat: source code
intern
https://github.com/theintern/intern
Code testing stack.
- tags: node.js, testing
- :octocat: source code
toxy
Hackable HTTP proxy to simulate failure scenarios and network conditions.
- tags: node.js, testing
- :octocat: source code
hook-std
https://github.com/sindresorhus/hook-std
Hook and modify stdout/stderr.
- tags: node.js, testing
- :octocat: source code
testen
https://github.com/egoist/testen
Run tests for multiple versions of Node.js locally with NVM.
- tags: node.js, testing
- :octocat: source code
Nightwatch
https://github.com/nightwatchjs/nightwatch
Automated UI testing framework based on Selenium WebDriver.
- tags: node.js, testing
- :octocat: source code
WebdriverIO
https://github.com/webdriverio/webdriverio
Automated testing based on the WebDriver protocol.
- tags: node.js, testing
- :octocat: source code
Jest
https://github.com/facebook/jest
Painless JavaScript testing.
- tags: node.js, testing
- :octocat: source code
TestCafe
https://github.com/DevExpress/testcafe
Automated browser testing.
- tags: node.js, testing
- :octocat: source code
abstruse
https://github.com/bleenco/abstruse
Continuous Integration server.
- tags: node.js, testing
- :octocat: source code
Awaitility
https://github.com/jayway/awaitility
DSL for synchronizing asynchronous operations.
- tags: java, testing, asynchronous
- :octocat: source code
ConcurrentUnit
https://github.com/jhalterman/concurrentunit
Toolkit for testing multi-threaded and asynchronous applications.
- tags: java, testing, asynchronous
- :octocat: source code
GreenMail
http://www.icegreen.com/greenmail
In-memory email server for integration testing. Supports SMTP, POP3 and IMAP including SSL.
- tags: java, testing, asynchronous
Hoverfly Java
https://github.com/SpectoLabs/hoverfly-java
Native bindings for Hoverfly, a proxy which allows you to simulate HTTP services.
- tags: java, testing, asynchronous
- :octocat: source code
REST Assured
https://github.com/jayway/rest-assured
DSL for easy testing of REST/HTTP services.
- tags: java, testing, asynchronous
- :octocat: source code
Cucumber
https://github.com/cucumber/cucumber-jvm
Provides a way to describe features in a plain language which customers can understand.
- tags: java, testing, bdd
- :octocat: source code
Cukes-REST
https://github.com/ctco/cukes-rest
A collection of Gherkin steps for REST-service testing using Cucumber.
- tags: java, testing, bdd
- :octocat: source code
J8Spec
https://github.com/j8spec/j8spec
Follows a Jasmine-like syntax.
- tags: java, testing, bdd
- :octocat: source code
JBehave
Extensively configurable framework that describes stories.
JGiven
Provides a fluent API which allows for simpler composition.
Lamdba Behave
https://github.com/RichardWarburton/lambda-behave
Aims to provide a fluent API to write tests in long and descriptive sentences that read like plain English.
- tags: java, testing, bdd
- :octocat: source code
Beanmother
https://github.com/keepcosmos/beanmother
Sets up beans from YAML fixtures.
- tags: java, testing, fixtures
- :octocat: source code
Fixture Factory
https://github.com/six2six/fixture-factory
Generates fake objects from a template.
- tags: java, testing, fixtures
- :octocat: source code
JFairy
https://github.com/Codearte/jfairy
Fake data generator.
- tags: java, testing, fixtures
- :octocat: source code
Randomized Testing
https://github.com/randomizedtesting/randomizedtesting
JUnit test runner and plugins for running JUnit tests with pseudo-randomness.
- tags: java, testing, fixtures
- :octocat: source code
Java Faker
https://github.com/DiUS/java-faker
A port of Ruby's fake data generator.
- tags: java, testing, fixtures
- :octocat: source code
ArchUnit
https://github.com/TNG/ArchUnit
Test library for specifying and asserting architecture rules.
- tags: java, testing, frameworks
- :octocat: source code
Apache JMeter
Functional testing and performance measurements.
- tags: java, testing, frameworks
Arquillian
Integration and functional testing platform for Java EE containers.
- tags: java, testing, frameworks
Citrus
Integration testing framework that focuses on both client- and server-side messaging.
- tags: java, testing, frameworks
Gatling
Load testing tool designed for ease of use, maintainability and high performance.
- tags: java, testing, frameworks
JUnit
Common testing framework.
- tags: java, testing, frameworks
Pact JVM
https://github.com/DiUS/pact-jvm
Consumer-driven contract testing.
- tags: java, testing, frameworks
- :octocat: source code
PIT
Fast mutation-testing framework for evaluating fault-detection abilities of existing JUnit or TestNG test suites.
- tags: java, testing, frameworks
AssertJ
https://joel-costigliola.github.io/assertj
Fluent assertions that improve readability.
JSONAssert
http://jsonassert.skyscreamer.org
Simplifies testing JSON strings.
Truth
https://github.com/google/truth
Google's assertion and proposition framework.
- tags: java, testing, matchers
- :octocat: source code
Mutability Detector
https://github.com/MutabilityDetector/MutabilityDetector
Reports whether instances of a given class are immutable.
- tags: java, testing, testing
- :octocat: source code
Mutability Detector
https://github.com/MutabilityDetector/MutabilityDetector
Reports whether instances of a given class are immutable.
- tags: java, testing, testing
- :octocat: source code
raml-tester
https://github.com/nidi3/raml-tester
Tests if a request/response matches a given RAML definition.
- tags: java, testing, testing
- :octocat: source code
raml-tester
https://github.com/nidi3/raml-tester
Tests if a request/response matches a given RAML definition.
- tags: java, testing, testing
- :octocat: source code
TestContainers
https://github.com/testcontainers/testcontainers-java
Provides throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
- tags: java, testing, testing
- :octocat: source code
TestContainers
https://github.com/testcontainers/testcontainers-java
Provides throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
- tags: java, testing, testing
- :octocat: source code
pojo-tester
Automatically performs tests on basic POJO methods.
pojo-tester
Automatically performs tests on basic POJO methods.
JMockit
Integration testing, API mocking and faking, and code coverage.
Mockito
https://github.com/mockito/mockito
Mocking framework that lets you write tests with a clean and simple API.
- tags: java, testing, mocking
- :octocat: source code
MockServer
Allows mocking of systems integrated with HTTPS.
Moco
https://github.com/dreamhead/moco
Concise web services for stubs and mocks.
- tags: java, testing, mocking
- :octocat: source code
PowerMock
https://github.com/jayway/powermock
Mocks static methods, constructors, final classes and methods, private methods, and removal of static initializers.
- tags: java, testing, mocking
- :octocat: source code
WireMock
Stubs and mocks web services.
Burst
https://github.com/square/burst
A unit testing library for varying test data.
- tags: java, testing, parameterization
- :octocat: source code
junit-dataprovider
https://github.com/TNG/junit-dataprovider
A TestNG-like data provider/runner for JUnit.
- tags: java, testing, parameterization
- :octocat: source code
JUnitParams
https://pragmatists.github.io/JUnitParams
Creates readable and maintainable parametrised tests.
- tags: java, testing, parameterization
awesome-software-quality
https://github.com/ligurio/awesome-software-quality#readme
List of free software testing and verification resources - ligurio/awesome-software-quality
- tags: awesome-list, book, testing
- :octocat: source code
awesome-testing
https://github.com/TheJambo/awesome-testing#readme
A curated list of testing resources. Contribute to TheJambo/awesome-testing development by creating an account on GitHub.
- tags: awesome-list, testing
- :octocat: source code
awesome-regression-testing
https://github.com/mojoaxel/awesome-regression-testing#readme
🕶️ A curated list of resources around the topic: visual regression testing - mojoaxel/awesome-regression-testing
- tags: awesome-list, testing
- :octocat: source code
Testcontainers home page
https://www.testcontainers.org/
Testcontainers is a Java 8 library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container...
- tags: testing, docker, java
- :octocat: source code
Dredd — HTTP API Testing Framework — Dredd latest documentation
Dredd is a language-agnostic command-line tool for validating API description document against backend implementation of the API.
Dredd reads your API description and step by step validates whether y...
- tags: api, testing, documentation
- :octocat: source code
Modern Node.js: async/await based testing with Mocha & Chai
https://zaiste.net/modern_node_js_async_await_based_testing_with_mocha_chai/
Mocha is a JavaScript test framework running on Node.js and in the browser. It can run both asynchronous and synchronous code serially. Test cases are created using describe() and it() methods, the fo...
- :calendar: published on: 2017-04-09
- tags: mocha, chai, testing
- :octocat: source code
GitHub - domenic/chai-as-promised
https://github.com/domenic/chai-as-promised
Extends Chai with assertions about promises. Contribute to domenic/chai-as-promised development by creating an account on GitHub.
- tags: chai, promise, testing
- :octocat: source code
Arquillian Home Page
An innovative testing platform for the Java Virtual Machine (JVM). Open source. Highly extensible.
- tags: arquillian, testing, integration-testing
- :octocat: source code
Mockito: Why You Should Not Use InjectMocks Annotation to Autowire Fields – Ted Vinke's Blog
https://tedvinke.wordpress.com/2014/02/13/mockito-why-you-should-not-use-injectmocks-annotation-to-a...
People like the way how Mockito is able to mock Spring's auto-wired fields with the @InjectMocks annotation. When I read this post of Lubos Krnac last week, I thought I should explain why I think the ...
Should.js API Documentation
should is an expressive, readable, framework-agnostic assertion library. The main goals of this library are to be expressive and to be helpful. It keeps your test code clean, and your error messages...
- tags: testing, bdd
- :octocat: source code
Istanbul, a JavaScript test coverage tool.
Istanbul instruments your ES5 and ES2015+ JavaScript code with line counters, so that you can track how well your unit-tests exercise your codebase.
- tags: testing, test-coverage, javascript
- :octocat: source code
Jest · 🃏 Delightful JavaScript Testing
🃏 Delightful JavaScript Testing
- tags: javascript, testing, reactjs
- :octocat: source code
A personal review of automated testing tools in the JavaScript world
https://itnext.io/a-personal-review-of-automated-testing-tools-in-the-javascript-world-3c504fe6e05d
In this post, I will talk about my experiences with test automation using tools that support JavaScript. In the first part of the post, I will talk about tools for test automation of the graphical use...
- :calendar: published on: 2018-10-31
- tags: javascript, testing, tools
AssertJ homepage
http://joel-costigliola.github.io/assertj/
AssertJ provides a rich and intuitive set of strongly-typed assertions to use for unit testing (with JUnit, TestNG or any other test framework).
- tags: java, spring, testing
- :octocat: source code
Rest assured
https://github.com/rest-assured/rest-assured
Java DSL for easy testing of REST services.
- tags: rest, testing, java, api
- :octocat: source code
Mocks Aren't Stubs
https://martinfowler.com/articles/mocksArentStubs.html
The article addresses among other things the following:
- The Difference Between Mocks and Stubs
- Classical and Mockist Testing
- driving TDD
- :calendar: published on: 2007-01-02
- tags: mocking, testing, extreme-programming, tdd, stub
The little mocker
https://blog.cleancoder.com/uncle-bob/2014/05/14/TheLittleMocker.html
It's a conversation about mocking where the different test doubles (that is stubs, spies and mocks) and fakes are explained. The author also presents his way of "mocking" things, relying less on mocki...
mountebank - over the wire test doubles
mountebank is the first open source tool to provide cross-platform, multi-protocol test doubles over the wire. Simply point your application under test to mountebank instead of the real dependency, an...
- tags: testing, mocking
- :octocat: source code
Testing a Spring Boot REST API against a Consumer-Driven Contract with Pact - reflectoring
https://reflectoring.io/consumer-driven-contract-provider-pact-spring/
A guide on how to implement a consumer-driven contract test with Pact that verifies that a REST provider based on Spring Boot works as defined in the contract.
- tags: spring-boot, api, rest, testing
- :octocat: source code
The JMockit testing toolkit
Home of the JMockit open source project. JMockit is a Java toolkit for developer testing, including mocking APIs and a code coverage tool.
- tags: java, testing, jmockit
- :octocat: source code
JMockit 101
http://www.baeldung.com/jmockit-101
A simple and practical guide to testing and mocking with JMockit.
- :calendar: published on: 2018-04-15
- tags: java, testing, jmockit
- :octocat: source code
Mockito vs EasyMock vs JMockit
http://www.baeldung.com/mockito-vs-easymock-vs-jmockit
A quick and practical guide to understanding and comparing Java mocking libraries.
- tags: java, testing
- :octocat: source code
JavaScript End to End Testing Framework
Fast, easy and reliable testing for anything that runs in a browser. Install Cypress in seconds and take the pain out of front-end testing.
- tags: testing, javascript
- :octocat: source code
Calen Legaspi: Separating Integration Tests from Unit Tests Using Maven Failsafe & JUnit @Category
http://calenlegaspi.blogspot.ch/2015/01/separating-integration-tests-from-unit.html
TDD at the Unit Testing level is fairly straight-forward, since classes in unit testing either do not have complex dependencies, or you mock-out the dependencies with a mocking framework (ex. Mockito)...
- :calendar: published on: 2015-01-23
- tags: testing, unit-testing, maven
Test run modes - Arquillian - Project Documentation Editor
https://docs.jboss.org/author/display/ARQ/Test+run+modes
Arquillian comes with two run modes, in container and as client. in container is to test your application internals and as client is to test how your application is used by clients. Lets dive ...
- tags: arquillian, testing
Arquillian and Wildfly: Integration test tutorial
https://www.softwareyoga.com/arquillian-and-wildfly-integration-test-tutorial/
Arquillian is a testing platform for JavaEE applications. This tutorial creates an Arquillian test and executes it on the Wildfly container.
- :calendar: published on: 2015-10-27
- tags: testing, javaee, arquillian
- :octocat: source code
Introduction to Testing with Arquillian
http://www.baeldung.com/arquillian
Learn how to prepare and execute tests using Arquillian, a container-agnostic integration testing framework.
- :calendar: published on: 2017-11-30
- tags: testing, java, javaee, arquillian
- :octocat: source code
Writing Your F.I.R.S.T Unit Tests - DZone Java
https://dzone.com/articles/writing-your-first-unit-tests
When writing unit tests in Java, stick to FIRST. Your tests should be fast, independent, repeatable, self-validating, and timely (unless you're using TDD).
- :calendar: published on: 2017-03-17
- tags: testing, unit-testing, clean-code
Stop. Write a Learning Test. - The Code Whisperer
http://blog.thecodewhisperer.com/permalink/when-to-write-learning-tests
Stop. Write a Learning Test.
Best Practices for Spies, Stubs and Mocks in Sinon.js - Semaphore
https://semaphoreci.com/community/tutorials/best-practices-for-spies-stubs-and-mocks-in-sinon-js
In this article, we'll show you the differences between spies, stubs and mocks, when and how to use them, and give you a set of best practices to help you avoid common pitfalls.
- :calendar: published on: 2015-12-05
- tags: node.js, testing, unit-testing, sinonjs
Assert | Node.js Documentation
https://nodejs.org/api/assert.html
The assert module provides a simple set of assertion tests that can be used to test invariants.
- tags: node.js, testing, unit-testing
GitHub - visionmedia/supertest home page
https://github.com/visionmedia/supertest
supertest - Super-agent driven library for testing node.js HTTP servers using a fluent API
- tags: node.js, testing, integration-testing
- :octocat: source code
Sinon.JS
Standalone test spies, stubs and mocks for JavaScript. Works with any unit testing framework.
- tags: javascript, node.js, unit-testing, testing, sinonjs
- :octocat: source code
Chai home page
Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.
- tags: node.js, testing, unit-testing, chai
- :octocat: source code
Mocha - home page
Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate report...
- tags: node.js, testing, unit-testing, mocha, javascript
- :octocat: source code
Node Hero - Node.js Unit Testing Tutorial | @RisingStack
https://blog.risingstack.com/node-hero-node-js-unit-testing-tutorial/
Learn what is unit testing in Node.js, and how to test your applications properly. This article is the 9th part of the Node Hero tutorial series.
- tags: node.js, testing, unit-testing
- :octocat: source code
GitHub - typicode/json-server: Get a full fake REST API with zero coding in less than 30 seconds (seriously)
https://github.com/typicode/json-server
Create a db.json file
...
- tags: node.js, mocking, testing
- :octocat: source code
GitHub - substack/tape: tap-producing test harness for node and browsers
https://github.com/substack/tape
tap-producing test harness for node and browsers
- tags: node.js, testing, tape
- :octocat: source code
Test fixtures · junit-team/junit4 Wiki · GitHub
https://github.com/junit-team/junit4/wiki/test-fixtures
A test fixture is a fixed state of a set of objects used as a baseline for running tests. The purpose of a test fixture is to ensure that there is a well known and fixed environment in which tests are...
- tags: testing
JUnit
JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
- tags: testing, java, junit
- :octocat: source code
Why I use Tape Instead of Mocha & So Should You – JavaScript Scene – Medium
https://medium.com/javascript-scene/why-i-use-tape-instead-of-mocha-so-should-you-6aa105d8eaf4
Mocha is a $150k Porsche Panamera when the best tool for the job is a $30k Tesla Model 3. Don’t waste your resources on testing bells and whistles. Invest them in creating your app, instead.
Author e...
- :calendar: published on: 2015-07-13
- tags: node.js, testing, tape
- :octocat: source code
Introduction to Unit Testing in Angular ← Alligator.io
https://alligator.io/angular/introduction-unit-testing/
It’s easy to get started with unit testing for Angular 2+ apps. If your projects was setup using the Angular CLI, everything will be ready for you to start writing tests using Jasmine as the testing f...
- tags: angular, testing, jasmine, unit-testing
Acceptance Test Driven Development (ATDD): an Overview | Test Obsessed
http://testobsessed.com/2008/12/acceptance-test-driven-development-atdd-an-overview/
Acceptance Test Driven Development (ATDD) is a practice in which the whole team collaboratively discusses acceptance criteria, with examples, and then distills them into a set of concrete acceptance t...
Introduction · Pact
The Pact family of frameworks provide support for Consumer Driven Contracts testing.
- tags: pact, docs, microservices, testing
- :octocat: source code
Why Most Unit Testing is Waste
http://rbcs-us.com/documents/Why-Most-Unit-Testing-is-Waste.pdf
In the early days of computing when computers were slow, unit tests gave the developer more immediate feedback about whether a change broke the code instead of waiting for system tests to run. Today, ...
- tags: unit-testing, testing
Mockito framework site
Tasty mocking framework for unit tests in Java
- tags: java, testing, dev-tools, testing
- :octocat: source code
Mockito framework site
Tasty mocking framework for unit tests in Java
- tags: java, testing, dev-tools, testing
- :octocat: source code
Testing Angular 2 Services and Http with Jasmine
http://chariotsolutions.com/blog/post/testing-angular-2-0-x-services-http-jasmine-karma/
Example on how to test Angular Service and how to mock the HTTP service with MockBackend
Test-driven development - Wikipedia
https://en.wikipedia.org/wiki/Test-driven_development
Test-driven development (TDD) is a software development process that relies on the repetition of a very short development cycle: requirements are turned into very specific test cases, then the sof...
- tags: testing
Test double - Wikipedia
https://en.wikipedia.org/wiki/Test_double
Objects or procedures that look and behave like their release-intended counterparts, but are actually simplified versions that reduce the complexity and facilitate testing. A test double(stubs, fa...
- tags: basic-knowledge, testing
Testbed - Wikipedia
https://en.wikipedia.org/wiki/Testbed
In software development testbedding is a method of testing a particular module (function, class, or library) in an isolated fashion. It may be used as a proof of concept or when a new module is tested...
- tags: basic-knowledge, testing
Sandbox (software development) - Wikipedia
https://en.wikipedia.org/wiki/Sandbox_(software_development)
A sandbox is a testing environment that isolates untested code changes and outright experimentation from the production environment or repository, in the context of software development including ...
- tags: basic-knowledge, testing
Testing - ts - GUIDE
https://angular.io/docs/ts/latest/guide/testing.html
This guide offers tips and techniques for testing Angular applications. Though this page includes some general testing principles and techniques, the focus is on testing applications written with Angu...