Skip to content

A simple implementation of a stocks' portfolio to demonstrate the use of EasyMock

License

Notifications You must be signed in to change notification settings

Patsi/StockPortfolio

 
 

Repository files navigation

StockPortfolio

A simple implementation of a stocks' portfolio to demonstrate the use of mocking principles for unit-testing.
I have used EasyMock as a framework of reference.
To import the framework in you Eclipse Java project please refere to this article on Stack Overflow

Instructions

You are building an application for maintaining user's stock portfolios. Your application would use a stock market service to retrieve stock prices from a real server (such as NASDAQ).

When it comes to testing your code, you wouldn't want to hit the real stock market server for fetching the stock prices. Instead, you would like some dummy price values. So, you need to mock the stock market service that returns dummy values without hitting the real server.

About

A simple implementation of a stocks' portfolio to demonstrate the use of EasyMock

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%