<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://saphybris.areko.consulting/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Areko Consulting, structured help on &lt;a href=&quot;/sap_hybris_commerce/start&quot; ...</title>
        <description></description>
        <link>https://saphybris.areko.consulting/</link>
        <lastBuildDate>Fri, 01 May 2026 18:45:34 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://saphybris.areko.consulting/_media/wiki/logo.png</url>
            <title>Areko Consulting, structured help on &lt;a href=&quot;/sap_hybris_commerce/start&quot; ...</title>
            <link>https://saphybris.areko.consulting/</link>
        </image>
        <item>
            <title>how_to_mock_a_setter_of_a_model</title>
            <link>https://saphybris.areko.consulting/sap_hybris_commerce/testing/how_to_mock_a_setter_of_a_model</link>
            <description>How to mock a setter of a model

When you are building a unit test you may need to assert the value given to a setter. By default all the setters of a mock object (with Mockito) do nothing.

Required Steps

	*  Define your mock model as a field of your test class</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 03 Aug 2021 14:23:29 +0000</pubDate>
        </item>
        <item>
            <title>how_to_open_an_extension_with_the_junit_tenant</title>
            <link>https://saphybris.areko.consulting/sap_hybris_commerce/testing/how_to_open_an_extension_with_the_junit_tenant</link>
            <description>How to open an extension with the junit tenant

When finding errors in complex integration tests, it is useful to start HMC or other extension on the junit tenant to check what data is stored there.

To do this please follow these steps:

	*  Open HAC</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 18 Dec 2019 19:17:52 +0000</pubDate>
        </item>
        <item>
            <title>how_to_run_only_one_unit_test_using_ant</title>
            <link>https://saphybris.areko.consulting/sap_hybris_commerce/testing/how_to_run_only_one_unit_test_using_ant</link>
            <description>How to run only one unit test using ant

Hybris 6 - Since Hybris 4.4

Suppose you want to run the tests in the package de.coreservices.strategies.impl. Then your tests must have one of the annotations @UnitTest, @IntegrationTest, @DemoTest, @PerformanceTest or @ManualTest</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 31 Mar 2023 13:28:13 +0000</pubDate>
        </item>
        <item>
            <title>how_to_run_the_unit_tests_in_eclipse_ide</title>
            <link>https://saphybris.areko.consulting/sap_hybris_commerce/testing/how_to_run_the_unit_tests_in_eclipse_ide</link>
            <description>How to run the unit tests in Eclipse IDE

Unit Tests (in the web folder)

	*  Check that the option Project &gt; Build Automatically is turned off.
	*  Write your unit test
	*  In a command line window run ant clean all yunit yunitweb. We compile the code of all the tests.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 18 Dec 2019 19:17:54 +0000</pubDate>
        </item>
        <item>
            <title>how_transactions_in_integraton_tests_work</title>
            <link>https://saphybris.areko.consulting/sap_hybris_commerce/testing/how_transactions_in_integraton_tests_work</link>
            <description>How transactions in integraton tests work

When creating integraton tests it is essential to understand how Hybris manages o emulates transactions inside tests.

Transactional Tests

The preferred superclass for integration tests is ServicelayerTransactionalTest</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 18 Dec 2019 19:17:53 +0000</pubDate>
        </item>
        <item>
            <title>start</title>
            <link>https://saphybris.areko.consulting/sap_hybris_commerce/testing/start</link>
            <description>Testing the code

Writing Integration and Unit Tests with SAP Hybris 

How transactions in integraton tests work 

How to mock a setter of a model 

How to run only one unit test using ant 

How to open an extension with the junit tenant 

How to run the unit tests in Eclipse IDE 

Selenium Best Practices</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 18 Dec 2019 19:17:54 +0000</pubDate>
        </item>
        <item>
            <title>writing_integration_unit_tests_with_sap_hybris</title>
            <link>https://saphybris.areko.consulting/sap_hybris_commerce/testing/writing_integration_unit_tests_with_sap_hybris</link>
            <description>Writing Integration and Unit Tests with SAP Hybris

Hybris provides a basic infrastructure for your unit and integration tests. To write meaningful tests with deterministic results the following recommendations should be used.

Common Tips

	*  Keep your test cases simple (</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 07 May 2023 10:24:18 +0000</pubDate>
        </item>
    </channel>
</rss>
