All Projects → xpeppers → serverless-tdd

xpeppers / serverless-tdd

Licence: other
Serverless TDD example

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to serverless-tdd

chai
BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.
Stars: ✭ 7,842 (+60223.08%)
Mutual labels:  tdd
mugshot
Framework independent visual testing library
Stars: ✭ 126 (+869.23%)
Mutual labels:  tdd
tddd-starter
Laravel TDDD Starter App
Stars: ✭ 23 (+76.92%)
Mutual labels:  tdd
svut
SVUT is a simple framework to create Verilog/SystemVerilog unit tests. Just focus on your tests!
Stars: ✭ 48 (+269.23%)
Mutual labels:  tdd
Examin
Examin is a developer tool that generates React unit tests for your application. Ensure your application renders as expected before adding new features. Examin writes the baseline unit tests and allows developers to customize their tests for their application.
Stars: ✭ 75 (+476.92%)
Mutual labels:  tdd
doctest
The fastest feature-rich C++11/14/17/20 single-header testing framework
Stars: ✭ 4,434 (+34007.69%)
Mutual labels:  tdd
birthtalk
Meet who have birth common with you
Stars: ✭ 36 (+176.92%)
Mutual labels:  tdd
spec-kemal
Easy testing for Kemal
Stars: ✭ 51 (+292.31%)
Mutual labels:  tdd
goss
Quick and Easy server testing/validation
Stars: ✭ 26 (+100%)
Mutual labels:  tdd
typeless
Typeless: the benefits of TypeScript, without the types
Stars: ✭ 17 (+30.77%)
Mutual labels:  tdd
finance-project-ddd
Projeto financeiro usando domain driven design, tdd, arquitetura hexagonal e solid
Stars: ✭ 67 (+415.38%)
Mutual labels:  tdd
my-react-todolist
A guide to TDD a React/Redux TodoList App
Stars: ✭ 22 (+69.23%)
Mutual labels:  tdd
ko-component-tester
🚦 TDD Helpers for Knockout JS
Stars: ✭ 15 (+15.38%)
Mutual labels:  tdd
chai-exclude
Exclude keys to compare from a deep equal operation with chai expect or assert.
Stars: ✭ 33 (+153.85%)
Mutual labels:  tdd
pydantic-factories
Simple and powerful mock data generation using pydantic or dataclasses
Stars: ✭ 380 (+2823.08%)
Mutual labels:  tdd
Unmockable
💉 ↪️ 🎁 Unmockable objects wrapping in .NET
Stars: ✭ 35 (+169.23%)
Mutual labels:  tdd
eye drops
Configurable Elixir mix task to watch file changes and run the corresponding command.
Stars: ✭ 51 (+292.31%)
Mutual labels:  tdd
ema
External memory app - allows one to quickly post and search text notes
Stars: ✭ 43 (+230.77%)
Mutual labels:  tdd
ttt-tdd
Book about test-driven development with an example of making “Tic-Tac-Toe” by TDD · ❌ ⭕️ 🧪
Stars: ✭ 29 (+123.08%)
Mutual labels:  tdd
colorizzar
📗 -> 📘 Change color of png keep alpha channel in php!
Stars: ✭ 27 (+107.69%)
Mutual labels:  tdd

Serverless TDD example

Requirements

  • Docker

Usage

Build Docker container

docker build -t xpeppers/serverless .

Install dependencies

docker run --rm -t -v $(pwd):/home/ec2user xpeppers/serverless npm install

Run unit tests

docker run --rm -t -v $(pwd):/home/ec2user xpeppers/serverless npm test

Run acceptance tests locally

docker run --rm -t -v $(pwd):/home/ec2user xpeppers/serverless npm run local-acceptance-test

Create a .env file with AWS credentials (Admin access is needed)

AWS_ACCESS_KEY_ID=<key>
AWS_SECRET_ACCESS_KEY=<secret>

Deploy to AWS

docker run --rm -t -v $(pwd):/home/ec2user xpeppers/lambda npm run deploy

Run tests against AWS endpoint returned by deploy or info command

docker run --rm -t -v $(pwd):/home/ec2user -e "ENDPOINT=<AWS Endpoint>" xpeppers/lambda npm run acceptance-test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].