Mocha is a library for mocking and stubbing using a syntax like that of JMock, and SchMock.
Mocha is a library for mocking and stubbing using a syntax like that of JMock, and SchMock. One of its main advantages is that it allows you to mock and stub methods on real (non-mock) classes and instances.
Mocha is a library for mocking and stubbing using a syntax like that of JMock, and SchMock. One of its main advantages is that it allows you to mock and stub methods on real (non-mock) classes and instances.
To install rb-mocha, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install rb-mocha
To see what files were installed by rb-mocha, run:
port contents rb-mocha
To later upgrade rb-mocha, run:
sudo port selfupdate && sudo port upgrade rb-mocha
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.