Unit Test for classes that extend SysOperationServiceBase [closed] - unit-testing

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
My question is simple for someone who has a good experience in developing for AX.
Do we write Unit tests for classes that extends SysOperationServiceBase?

Yes, you should write unit tests for classes that extend the SysOperationServiceBase, because they contain business logic.
Perhaps you could provide more details on why you wouldn't write unit tests for that particular set of classes?

Related

Running C++ functions from a web page [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 months ago.
Improve this question
I have a complicated C++ function that takes as input some files describing geometry and outputs some files describing resulting geometry. I'd like to provide an interface to this function on a webpage with the function being computed on a powerful computer. What are some good options that don't require me to rewrite the function in another language?

I've noticed some engineers bootstrap containers, such as Spring / Mironaut in their Unit Tests. Unit Test or Integration Test? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I'm getting confused here. I am from the school of thought where a Unit Test is about testing the Class Under Test, and mocking out it's immediate collaborators (some exceptions to this general rule here!).
However, some of my colleagues have a slightly different opinion in that they feel it's okay to bootstrap a Dependency Injection container in a Unit Test. To me this feels like the test is testing more than the Class Under Test because the DI container can automagically inject other dependencies which are irrelevant to the test.

Encapsulation of structure in class [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
Is it good practice to encapsulate a structure used by a class inside the class if only the class uses it and not the user who will end up using the class, or does it not matter?
It is generally poor practice to expose any internal details in the headers.
See GotW #100: Compilation Firewalls for more details.

Cool html reports for Junit [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm looking for some cool report generators from Junit results, I used maven surefire but it's so poor, I need charts graphs and so on.
You could run your builds with Jenkins (www.jenkins-ci.org). Jenkins is easy to setup and it creates pretty diagrams and browsable reports from your JUnit results.

How to draw a web service using UML [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
What's the best and most elegant way to represent a web service interface using a UML class diagram?
Well it is just a diagram to help pass a point so whatever is clear. One option is to use stereotypes put "contract" on the interface and put "web service" on the class.
I would use a Sequence Diagram not a Class Diagram.
Web Service with UML