Skip to content

Commit 72c4bb0

Browse files
committed
Improve http_router library tests
1 parent 5efc2a9 commit 72c4bb0

131 files changed

Lines changed: 2237782 additions & 35 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copilot Instructions
2+
3+
## Coding Guidelines
4+
5+
- Indent using tabs.
6+
- Use snake_case for object, protocol, category, and predicate names.
7+
- Use CamelCase for variable names.
8+
9+
## Tests
10+
11+
- Create a "tests.lgt" file for the tests in the same directory as the code.
12+
- Also create a "tester.lgt" file for running the tests.
13+
14+
## Running Logtalk queries
15+
16+
- Run Logtalk queries from the terminal labelled Logtalk.
17+
18+
## Tools
19+
20+
- Load the Logtalk tools before using them.

.github/workflows/test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Testing
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Install SWI-Prolog backend
10+
uses: logtalk-actions/setup-swi-prolog@master
11+
with:
12+
swi-prolog-branch: stable
13+
swi-prolog-version: latest
14+
- name: Checkout Logtalk
15+
uses: actions/checkout@v1
16+
with:
17+
fetch-depth: 1
18+
- name: Run the tests
19+
run: |
20+
logtalk_tester -p swi
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Augment Code Instructions
2+
3+
## Coding Guidelines
4+
5+
- Indent using tabs.
6+
- Use snake_case for object, protocol, category, and predicate names.
7+
- Use CamelCase for variable names.
8+
9+
## Tests
10+
11+
- Create a "tests.lgt" file for the tests in the same directory as the code.
12+
- Also create a "tester.lgt" file for running the tests.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copilot Instructions
2+
3+
## Coding Guidelines
4+
5+
- Indent using tabs.
6+
- Use snake_case for object, protocol, category, and predicate names.
7+
- Use CamelCase for variable names.
8+
9+
## Tests
10+
11+
- Create a "tests.lgt" file for the tests in the same directory as the code.
12+
- Also create a "tester.lgt" file for running the tests.

0 commit comments

Comments
 (0)