Skip to content

amlcurran/DependencyInversion

Repository files navigation

Dependency Inversion

Go to the DependencyInversionTests.swift

First try to write the two tests without touching the current code. Hard, right?

Now use dependency inversion on the dependencies of the fetchFruit() method (there are two). Now can you write the tests?

Currently these are integration tests. What do they integrate with, and how can you make this test a simple unit test?

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages