Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exploratory testing fixes #1685

Merged

Conversation

palaciosjeremias
Copy link
Contributor

Related issue
#1641

Description

This PR includes the fixes for the minor problems found during the exploratory testing:

  • Fix for uninitialized variable in is_valid_file method.
  • Move helper modules to a lib folder.
  • Add component to the Mandatory fields.
  • Group name is now based on the README file header.

@palaciosjeremias palaciosjeremias self-assigned this Aug 5, 2021
@palaciosjeremias palaciosjeremias added the docs Add or improve documentation label Aug 5, 2021
@palaciosjeremias palaciosjeremias linked an issue Aug 5, 2021 that may be closed by this pull request
@@ -12,24 +12,25 @@
import json
import yaml
import ast
from Config import Config
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should remove the empty init.py file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The init.py file is required to convert the lib folder into a python module capable to be imported by the DocGenerator.py module.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to know that, I thought it was only needed a lib folder.

if not match:
return False
return True
if regex.match(file):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@@ -28,8 +25,8 @@ class CodeParser:
"""
brief: Class that parses the content of the test files.
"""
def __init__(self):
self.conf = Config()
def __init__(self, config):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this!

@palaciosjeremias palaciosjeremias merged commit 978277c into dev-doc-generator Aug 5, 2021
@palaciosjeremias palaciosjeremias deleted the dev-1641-exploratory-testing-fixes branch August 5, 2021 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Add or improve documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DocGenerator exploratory testing
2 participants