ruslan-kurchenko / asserta

First (really???) Salesforce Apex assertions library (actually, a project template at this point ;)
3 stars 0 forks source link

Port the Java AssertJ library #1

Open ruslan-kurchenko opened 3 years ago

ruslan-kurchenko commented 3 years ago
Nara7788 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

@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.