A telegram bot or CLI to search real estate ads
- You need a
.envfile in root of project. Clone.env.exampleas.envand define your environment variables.
- All Tests placed in
testdirectory - The
main_test.gocontains these methods:TestMain: Run once before all tests.clearData: This method clear all data, If your test need Data manipulation, call this method before and after of your test, like this:func TestSomething() { clearData() defer clearData() // Write your Test here }
- To run all tests, run this command:
go test ./test/...