test_docs

Creator: coderz1093

Last updated:

0 purchases

test_docs Image
test_docs Images

Languages

Categories

Add to Cart

Description:

test docs

TestDocs #
Overview #
This package generate markdown from @TestDocs annotation
Quick Start Guide for TestDocs #
Add a dev_dependency on test_docs and build_runner in your pubspec
dev_dependencies:
test_docs:
build_runner:
copied to clipboard
Write TestDocs annotaion on your test code
import 'package:flutter_test/flutter_test.dart';
import 'package:test_docs/test_docs.dart';

@TestDocs(
title: "test_docs test code",
dependencies: "test_docs:",
description: "this is test_docs test!",
)
void main() {
test("package test", () {
expect(1, 1);
});
}
copied to clipboard
run build runner
flutter pub run build_runner build
copied to clipboard
generated markdown file
# test_docs test code
[test/package_test.dart](test/package_test.dart)

### description

this is test_docs test!

### dependencies

'''yml
test_docs:
'''

### Code

'''dart
import 'package:flutter_test/flutter_test.dart';
import 'package:test_docs/test_docs.dart';


void main() {
test("package test", () {
expect(1, 1);
});
}

'''

copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.