-
Notifications
You must be signed in to change notification settings - Fork 12
Quick Start
vassilvk edited this page Jul 4, 2011
·
20 revisions
To create a new Slacker project, run the following command:
slacker_new my_project
This will create a new project directory my_project.
Modify ./my_project/database.yml to tell Slacker which database to connect to.
Navigate to ./my_project and Run Slacker:
slacker
If all is good, you should see something like this:
my_database (my_server)
.....
Finished in 0.05222 seconds
5 examples, 0 failures
Next, check out sample file ./my_project/spec/sample_1.rb to see the BDD Slacker tests you just executed.
Also take a look at the SQL trace scripts generated in folder ./my_project/debug/passed_examples. Those are the actual T-SQL scripts Slacker generated and executed against your database.
See Slacker Tests for more information.