forcedotcom / Einstein-GPT-for-Developers

Einstein GPT For Developers
BSD 3-Clause "New" or "Revised" License
31 stars 8 forks source link

Tests should use the new Assert classes #83

Open albarivas opened 1 month ago

albarivas commented 1 month ago

Summary

All tests that E4D create use the old System.assert classes. Please fine-tune the model so it uses the new one. https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_System_Assert.htm

Steps To Reproduce:

  1. Ask E4D to generate any test

Expected result

The generated test uses the new Assert class

Actual result

The generated test uses the old System.assert methods

Additional information

Salesforce Extension Version in Code builder: 61.1.2

Salesforce Einstein For Developers Version in Code builder: 0.50.0

code-server: v4.18.0

Code: 1.83.1

jonifazo commented 1 month ago

Hi @albarivas - Thank you for this feedback. We will pass it on to the AI Research team.