Skip to content

Commit

Permalink
Update run.md
Browse files Browse the repository at this point in the history
  • Loading branch information
22388o authored Nov 3, 2023
1 parent c0a7116 commit a18aefb
Showing 1 changed file with 9 additions and 25 deletions.
34 changes: 9 additions & 25 deletions docs/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,35 +73,19 @@ Explain how users can write their own tests for your DLC using the testing frame

```dart
// Example test case using the `oracle` package
import 'package:oraclet/oracle.dart';
import 'package:test/test.dart';
void main() {
test('Test case description', () {
// Write your test code here
oracleinfo {
amount: number;
price: number;
expect(true, isTrue);
// Declare your test data
var amount = 10; // a number
var price = 20.5; // a floating-point number
// Write your test expectations
expect(amount, isA<int>());
expect(price, isA<double>());
});
}
```

## 5. Contributing <a name="contributing"></a>

Encourage users to contribute to your project by providing guidelines for contributing, reporting issues, and making pull requests.

### 5.1 Code of Conduct

Include a link to your project's Code of Conduct.

### 5.2 How to Contribute

Explain how users can contribute to your project, whether it's by reporting issues, suggesting improvements, or submitting code changes.

### 5.3 Pull Request Guidelines

Specify the process for submitting pull requests, including code review and coding standards.

## 6. License <a name="license"></a>
```
Specify the project's open-source license, such as MIT, Apache, or any other, and provide a link to the full license text.

0 comments on commit a18aefb

Please sign in to comment.