<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to add Unit Test Class to global Class in Eclipse? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-unit-test-class-to-global-class-in-eclipse/m-p/12337876#M1991968</link>
    <description>&lt;P&gt;I want to add unit tests to a global class using eclipse.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;CLASS zcl_fi_edi_payext_2441 DEFINITION
  PUBLIC
  CREATE PUBLIC .
" some coding
ENDCLASS.

CLASS zcl_fi_edi_payext_2441 IMPLEMENTATION.
" some coding
ENDCLASS.

CLASS test DEFINITION FOR TESTING RISK LEVEL HARMLESS.
ENDCLASS.

CLASS test IMPLEMENTATION.
ENDCLASS.
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;But it throws the error message: "The statement CLASS ... DEFINITION ... . is unexpected"&lt;/P&gt;
  &lt;P&gt;How can I solve this issue?&lt;/P&gt;
  &lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 10 Mar 2021 10:18:19 GMT</pubDate>
    <dc:creator>schmelto</dc:creator>
    <dc:date>2021-03-10T10:18:19Z</dc:date>
    <item>
      <title>How to add Unit Test Class to global Class in Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-unit-test-class-to-global-class-in-eclipse/m-p/12337876#M1991968</link>
      <description>&lt;P&gt;I want to add unit tests to a global class using eclipse.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;CLASS zcl_fi_edi_payext_2441 DEFINITION
  PUBLIC
  CREATE PUBLIC .
" some coding
ENDCLASS.

CLASS zcl_fi_edi_payext_2441 IMPLEMENTATION.
" some coding
ENDCLASS.

CLASS test DEFINITION FOR TESTING RISK LEVEL HARMLESS.
ENDCLASS.

CLASS test IMPLEMENTATION.
ENDCLASS.
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;But it throws the error message: "The statement CLASS ... DEFINITION ... . is unexpected"&lt;/P&gt;
  &lt;P&gt;How can I solve this issue?&lt;/P&gt;
  &lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 10:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-unit-test-class-to-global-class-in-eclipse/m-p/12337876#M1991968</guid>
      <dc:creator>schmelto</dc:creator>
      <dc:date>2021-03-10T10:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Unit Test Class to global Class in Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-unit-test-class-to-global-class-in-eclipse/m-p/12337877#M1991969</link>
      <description>&lt;P&gt;Hi Tom!&lt;/P&gt;&lt;P&gt;In ADT in Eclipse, there are a couple of tabs at the BOTTOM of the editor...&lt;/P&gt;&lt;P&gt;Global Class, Class--relevant Local Types, Local Types, Test Classes and Macros.&lt;/P&gt;&lt;P&gt;So, that's where to go to enter your test classes. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 11:06:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-unit-test-class-to-global-class-in-eclipse/m-p/12337877#M1991969</guid>
      <dc:creator>joltdx</dc:creator>
      <dc:date>2021-03-10T11:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Unit Test Class to global Class in Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-unit-test-class-to-global-class-in-eclipse/m-p/12337878#M1991970</link>
      <description>&lt;P&gt;Hi made some videos for playing about Abap Unit.&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2021/02/22/abap-unit-learning-session/" target="test_blank"&gt;https://blogs.sap.com/2021/02/22/abap-unit-learning-session/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 11:58:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-unit-test-class-to-global-class-in-eclipse/m-p/12337878#M1991970</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2021-03-10T11:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Unit Test Class to global Class in Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-unit-test-class-to-global-class-in-eclipse/m-p/12337879#M1991971</link>
      <description>&lt;P&gt;Hey &lt;SPAN class="mention-scrubbed"&gt;frdric.girod&lt;/SPAN&gt; thanks for sharing the videos.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 12:07:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-unit-test-class-to-global-class-in-eclipse/m-p/12337879#M1991971</guid>
      <dc:creator>schmelto</dc:creator>
      <dc:date>2021-03-10T12:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Unit Test Class to global Class in Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-unit-test-class-to-global-class-in-eclipse/m-p/12337880#M1991972</link>
      <description>&lt;P&gt;Exactly what I looked for thanks for sharing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you once see that tabs you can't unsee them.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 12:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-add-unit-test-class-to-global-class-in-eclipse/m-p/12337880#M1991972</guid>
      <dc:creator>schmelto</dc:creator>
      <dc:date>2021-03-10T12:08:14Z</dc:date>
    </item>
  </channel>
</rss>

