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 some basic tests #3

Closed
davorg opened this issue Sep 9, 2024 · 0 comments · Fixed by #4
Closed

Add some basic tests #3

davorg opened this issue Sep 9, 2024 · 0 comments · Fixed by #4

Comments

@davorg
Copy link
Contributor

davorg commented Sep 9, 2024

No description provided.

davorg added a commit that referenced this issue Sep 9, 2024
Fixes #3

Add basic tests for the `App::LinkSite` classes.

* **t/basic.t**
  - Add a new test file with basic tests for the `App::LinkSite` class.
  - Test the creation of an `App::LinkSite` object.
  - Test the `src` and `out` methods of the `App::LinkSite` object.

* **t/link.t**
  - Add a new test file with basic tests for the `App::LinkSite::Link` class.
  - Test the creation of an `App::LinkSite::Link` object.
  - Test the `title`, `subtitle`, `link`, and `is_new` methods of the `App::LinkSite::Link` object.

* **t/site.t**
  - Add a new test file with basic tests for the `App::LinkSite::Site` class.
  - Test the creation of an `App::LinkSite::Site` object.
  - Test the `name`, `handle`, `image`, `desc`, `og_image`, and `site_url` methods of the `App::LinkSite::Site` object.

* **t/social.t**
  - Add a new test file with basic tests for the `App::LinkSite::Social` class.
  - Test the creation of an `App::LinkSite::Social` object.
  - Test the `service`, `handle`, and `url` methods of the `App::LinkSite::Social` object.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/davorg-cpan/app-linksite/issues/3?shareId=XXXX-XXXX-XXXX-XXXX).
@davorg davorg closed this as completed in #4 Sep 9, 2024
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 a pull request may close this issue.

1 participant