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

Port the Java AssertJ library #1

Open
ruslan-kurchenko opened this issue Sep 17, 2020 · 3 comments
Open

Port the Java AssertJ library #1

ruslan-kurchenko opened this issue Sep 17, 2020 · 3 comments
Assignees
Labels
discussion Open discussion about a topic
Projects
Milestone

Comments

@ruslan-kurchenko
Copy link
Owner

  • Will we use AsserJ as a base of the asserta?
  • Any other alternatives?
  • If any, we need to define a list of items (Assert Types) with priorities to implement: Strings, Objects, Lists, Maps, Sets, sObjects, etc.
@ruslan-kurchenko ruslan-kurchenko created this issue from a note in asserta (Discovery) Sep 17, 2020
@ruslan-kurchenko ruslan-kurchenko added the discussion Open discussion about a topic label Sep 17, 2020
@ruslan-kurchenko ruslan-kurchenko added this to the 0.1 milestone Sep 17, 2020
@Nara7788
Copy link
Collaborator

If any, we need to define a list of items (Assert Types) with priorities to implement: Strings, Objects, Lists, Maps, Sets, sObjects, etc.

How about such a list. The higher the list, the higher the priority.

@Nara7788
Copy link
Collaborator

Will we use AsserJ as a base of the asserta?
Any other alternatives?

How do you think it will be easier and more correct?

  1. Do porting AssertJ
  2. Borrow API and implement it as we want and as the language allows us.

@ruslan-kurchenko
Copy link
Owner Author

ruslan-kurchenko commented Sep 18, 2020

@Nara7788 Yes, I like the prioritization list.

And about AssertJ - I would start from scratch by inheriting the API. AssertJ is quite complex inside to be able to port classes from Java to Apex. Plus, Apex much more limited than Java and we will need to work without Generics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Open discussion about a topic
Projects
asserta
  
Discovery
Development

No branches or pull requests

5 participants