From c63584e19297d937dfab1978f4a88cbe2b684871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lenon?= Date: Thu, 31 Aug 2023 10:55:25 +0100 Subject: [PATCH] feat(docs): add testing page --- docs/cli-application/_category_.json | 2 +- docs/rest-api-application/_category_.json | 2 +- docs/testing/_category_.json | 10 ++++++++++ docs/testing/cli-tests.mdx | 12 ++++++++++++ docs/testing/getting-started.mdx | 12 ++++++++++++ docs/testing/mocking.mdx | 12 ++++++++++++ docs/testing/rest-api-testing.mdx | 12 ++++++++++++ 7 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 docs/testing/_category_.json create mode 100644 docs/testing/cli-tests.mdx create mode 100644 docs/testing/getting-started.mdx create mode 100644 docs/testing/mocking.mdx create mode 100644 docs/testing/rest-api-testing.mdx diff --git a/docs/cli-application/_category_.json b/docs/cli-application/_category_.json index 50321433..74f880e8 100644 --- a/docs/cli-application/_category_.json +++ b/docs/cli-application/_category_.json @@ -5,6 +5,6 @@ "link": { "type": "generated-index", "slug": "/cli-application", - "description": "Understand how to map your CLI application routes." + "description": "Understand how the Athenna CLI application works." } } diff --git a/docs/rest-api-application/_category_.json b/docs/rest-api-application/_category_.json index f5a42077..2e4e0d8f 100644 --- a/docs/rest-api-application/_category_.json +++ b/docs/rest-api-application/_category_.json @@ -5,6 +5,6 @@ "link": { "type": "generated-index", "slug": "/rest-api-application", - "description": "Understand how to map your REST API application routes." + "description": "Understand how the Athenna REST API application works." } } diff --git a/docs/testing/_category_.json b/docs/testing/_category_.json new file mode 100644 index 00000000..0d14fa47 --- /dev/null +++ b/docs/testing/_category_.json @@ -0,0 +1,10 @@ +{ + "label": "Testing", + "position": 8, + "collapsed": true, + "link": { + "type": "generated-index", + "slug": "/testing", + "description": "Understand how to create efficient tests in any Athenna application." + } +} diff --git a/docs/testing/cli-tests.mdx b/docs/testing/cli-tests.mdx new file mode 100644 index 00000000..547411da --- /dev/null +++ b/docs/testing/cli-tests.mdx @@ -0,0 +1,12 @@ +--- +title: CLI Testing +sidebar_position: 3 +description: See how to create tests for CLI applications in Athenna. +tags: + - Testing + - CLI Testing +--- + +# CLI Testing + +See how to create tests for CLI applications in Athenna. diff --git a/docs/testing/getting-started.mdx b/docs/testing/getting-started.mdx new file mode 100644 index 00000000..4fe1e84b --- /dev/null +++ b/docs/testing/getting-started.mdx @@ -0,0 +1,12 @@ +--- +title: Getting Started +sidebar_position: 1 +description: See how to create tests in an Athenna application. +tags: + - Testing + - Getting Started +--- + +# Getting Started + +See how to create tests in an Athenna application. diff --git a/docs/testing/mocking.mdx b/docs/testing/mocking.mdx new file mode 100644 index 00000000..bded4834 --- /dev/null +++ b/docs/testing/mocking.mdx @@ -0,0 +1,12 @@ +--- +title: Mocking +sidebar_position: 4 +description: Understand how to mock dependencies and functions in Athenna. +tags: + - Testing + - Mocking +--- + +# Mocking + +Understand how to mock dependencies and functions in Athenna. diff --git a/docs/testing/rest-api-testing.mdx b/docs/testing/rest-api-testing.mdx new file mode 100644 index 00000000..9db54901 --- /dev/null +++ b/docs/testing/rest-api-testing.mdx @@ -0,0 +1,12 @@ +--- +title: REST API Testing +sidebar_position: 2 +description: See how to create tests for REST APIs applications in Athenna. +tags: + - Testing + - REST API Testing +--- + +# REST API Testing + +See how to create tests for REST APIs applications in Athenna.