This document contains the transcript of a terminal session discussing reactive programming concepts like Project Reactor, Reactive Streams interfaces, Mono and Flux publishers, and reactive operators. It provides examples of commands like history, whoami and cat to demonstrate different files containing information about testing best practices, Reactive Streams interfaces, Project Reactor publishers and operators. It concludes by mentioning additional reactive resources and linking to GitHub code samples.
3. mgray@pivotal.io ❯❯❯ $ cat /etc/tdd/issue
1. Don’t test trivial code getter/setter - Kent Beck
2. You can’t write tests to cover code that other
people will write later ; that’s their responsibility -
@kief
3. Be negative - in your tests - it can be powerful to
both check positive and negative outcomes.
Consumer-Driven Contract tests can be a real game changer to establish autonomous teams that can move fast and
with confidence. Do yourself a favor, read up on that concept and give it a try. A solid suite of CDC tests is invaluable
for being able to move fast without breaking other services and cause a lot of frustration with other teams.
4. mgray@pivotal.io ❯❯❯ $ cat /etc/tdd/bobmartin/laws
1. You are not allowed to write any production code
unless it is to make a failing unit test pass.
2. You are not allowed to write any more of a unit
test than is sufficient to fail; and compilation
failures are test failures.
3. You are not allowed to write any more production
code than is sufficient to pass the one failing unit
test.
12. mgray@pivotal.io ~ ❯❯❯ $ cat /etc/issue
Say Hello to / / / (Plus the other “usual suspects”)
13. mgray@pivotal.io ~ ❯❯❯ $ exit
This talk is shutting down in 60 seconds.
Link to this talk: https://www.github.com/marios-code-path/bootiful-testing
Eat pizza, be merry, and code!
BLOG: http://www.sudoinit5.com
Don’t forget to fork() and | bind()
Use your left
14. Questions?
Here are some helpful resources:
http://www.reactive-streams.org
https://projectreactor.io/docs/core
https://martinfowler.com/articles/201701-event-driven.html
http://jonasboner.com/foreword-reactive-design-patterns
https://projectreactor.io/docs/core/snapshot/api
https://github.com/mkheck/FSRx
(R2DBC WIP!: https://github.com/mkheck/coffee-service-r2dbc)