You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1023,12 +1026,13 @@ The class SerpApi::Client (client side / ruby):
1023
1026
Et voila!
1024
1027
1025
1028
## Continuous integration
1026
-
We love "true open source" and "continuous integration", and Test Drive Development (TDD).
1027
-
We are using RSpec to test [our infrastructure around the clock]) using Github Action to achieve the best QoS (Quality Of Service).
1029
+
We love [continuous integration](https://en.wikipedia.org/wiki/Continuous_integration) (CI) and [Test-Driven Development](https://en.wikipedia.org/wiki/Test-driven_development) (TDD) at SerpApi.
1030
+
We use RSpec and Github Actions to test our infrastructure around the clock, and that includes all changes to our clients.
1028
1031
1029
1032
The directory spec/ includes specification which serves the dual purposes of examples and functional tests.
1030
1033
1031
-
Set your secret API key in your shell before running a test.
1034
+
Set your secret API key in your shell before running a test.
1035
+
The SerpApi key can be obtained from [serpapi.com/signup](https://serpapi.com/users/sign_up?plan=free).
1032
1036
```bash
1033
1037
export SERPAPI_KEY="your_secret_key"
1034
1038
```
@@ -1044,19 +1048,29 @@ Check code quality using Lint.
1044
1048
$ rake lint
1045
1049
```
1046
1050
1047
-
Run regression.
1051
+
Run basic test
1048
1052
```bash
1049
1053
$ rake test
1050
1054
```
1051
1055
1052
-
To flush the flow.
1053
-
```bash
1054
-
$ rake
1056
+
Review coverage report generated by `rake test`
1057
+
```sh
1058
+
open coverage/index.html
1055
1059
```
1056
1060
1057
-
Open coverage report generated by `rake test`
1061
+
Review documentation generated by `rake doc`
1058
1062
```sh
1059
-
open coverage/index.html
1063
+
open doc/index.html
1064
+
```
1065
+
1066
+
Run full regression test suite on the examples.
1067
+
```bash
1068
+
rake regression
1069
+
```
1070
+
1071
+
Test the actuall packaged gem locally using the demo scripts.
Copy file name to clipboardExpand all lines: README.md.erb
+20-9Lines changed: 20 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -538,12 +538,13 @@ The class SerpApi::Client (client side / ruby):
538
538
Et voila!
539
539
540
540
## Continuous integration
541
-
We love "true open source" and "continuous integration", and Test Drive Development (TDD).
542
-
We are using RSpec to test [our infrastructure around the clock]) using Github Action to achieve the best QoS (Quality Of Service).
541
+
We love [continuous integration](https://en.wikipedia.org/wiki/Continuous_integration) (CI) and [Test-Driven Development](https://en.wikipedia.org/wiki/Test-driven_development) (TDD) at SerpApi.
542
+
We use RSpec and Github Actions to test our infrastructure around the clock, and that includes all changes to our clients.
543
543
544
544
The directory spec/ includes specification which serves the dual purposes of examples and functional tests.
545
545
546
-
Set your secret API key in your shell before running a test.
546
+
Set your secret API key in your shell before running a test.
547
+
The SerpApi key can be obtained from [serpapi.com/signup](https://serpapi.com/users/sign_up?plan=free).
547
548
```bash
548
549
export SERPAPI_KEY="your_secret_key"
549
550
```
@@ -559,19 +560,29 @@ Check code quality using Lint.
559
560
$ rake lint
560
561
```
561
562
562
-
Run regression.
563
+
Run basic test
563
564
```bash
564
565
$ rake test
565
566
```
566
567
567
-
To flush the flow.
568
-
```bash
569
-
$ rake
568
+
Review coverage report generated by `rake test`
569
+
```sh
570
+
open coverage/index.html
570
571
```
571
572
572
-
Open coverage report generated by `rake test`
573
+
Review documentation generated by `rake doc`
573
574
```sh
574
-
open coverage/index.html
575
+
open doc/index.html
576
+
```
577
+
578
+
Run full regression test suite on the examples.
579
+
```bash
580
+
rake regression
581
+
```
582
+
583
+
Test the actuall packaged gem locally using the demo scripts.
0 commit comments