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

Add automated tests for Gitea, Jenkins, and Nostr applications #3704

Draft
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

khaledyoussef24
Copy link
Contributor

@khaledyoussef24 khaledyoussef24 commented Dec 3, 2024

Description

Added automated tests for gitea to check domain is reachable
Added a test for nostr to check if it prints at port 8080 the "use nostr client message"
Added a test for jenkins to check if the domain is reachable
#3702

Changes

List of changes this PR includes

Related Issues

List of related issues

Tested Scenarios

A list of scenarios tried to match the deliverables

Documentation PR

For UI changes, Please provide the Documetation PR on info_grid

To consider

Preliminary Checks:

  • Does it completely address the issue linked?
  • What about edge cases?
  • Does it meet the specified acceptance criteria?
  • Are there any unintended side effects?
  • Does the PR adhere to the team's coding conventions, style guides, and best practices?
  • Does it integrate well with existing features?
  • Does it impact the overall performance of the application?
  • Are there any bottlenecks or slowdowns?
  • Has it been optimized for efficiency?
  • Has it been adequately tested with unit, integration, and end-to-end tests?
  • Are there any known defects or issues?
  • Is the code well-documented?
  • Are changes to documentation reflected in the code?

UI Checks:

  • If a UI design is provided/ does it follow it?
  • Does every button work?
  • Is the data displayed logical? Is it what you expected?
  • Does every validation work?
  • Does this interface feel intuitive?
  • What about slow network? Offline?
  • What if the gridproxy/graphql/chain is failing?
  • What would a first time user have a hard time navigating here?

Code Quality Checks:

  • Code formatted/linted? Are there unused imports? .. etc
  • Is there redundant/repeated code?
  • Are there conditionals that are always true or always false?
  • Can we write this more concisely?
  • Can we reuse this code? If yes, where?
  • Will the changes be easy to maintain and update in the future?
  • Can this code become too complex to understand for other devs?
  • Can this code cause future integration problems?

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstrings
  • Screenshots/Video attached (needed for UI changes)

@khaledyoussef24
Copy link
Contributor Author

Work done :
add test details and testcases to the 3 tests
stuck on the nostor test still re-checking wether to curl localhost:port and to verify the appering message is enough or not

https://app.testlodge.com/a/26076/projects/40893/suites/194096?expand_section=366955#case_4427212
https://app.testlodge.com/a/26076/projects/40893/suites/194096?expand_section=366955#case_4427214
https://app.testlodge.com/a/26076/projects/40893/suites/194096?expand_section=366955#case_4427218

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant