<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Admas</title>
    <description>The latest articles on DEV Community by Admas (@admasdev).</description>
    <link>https://dev.to/admasdev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4147295%2Fcdfad23e-2ca4-4240-b016-727315db1d05.png</url>
      <title>DEV Community: Admas</title>
      <link>https://dev.to/admasdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/admasdev"/>
    <language>en</language>
    <item>
      <title>A Practical Acceptance-Test Contract for AI-Built CRUD Apps</title>
      <dc:creator>Admas</dc:creator>
      <pubDate>Tue, 29 Sep 2026 22:26:46 +0000</pubDate>
      <link>https://dev.to/admasdev/a-practical-acceptance-test-contract-for-ai-built-crud-apps-4elb</link>
      <guid>https://dev.to/admasdev/a-practical-acceptance-test-contract-for-ai-built-crud-apps-4elb</guid>
      <description>&lt;p&gt;AI can produce a convincing interface before it has proved that the underlying workflow works. A better starting point is a small acceptance-test contract: a list of observable behaviors that must remain true before you call the project useful.&lt;/p&gt;

&lt;p&gt;This is not a demand for exhaustive quality assurance. It is a way to turn an idea into one complete, inspectable path.&lt;/p&gt;

&lt;h2&gt;
  
  
  Example: a customer-inquiry tracker
&lt;/h2&gt;

&lt;p&gt;Suppose a small business needs to collect and manage customer inquiries. The first version only needs four fields:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;customer name&lt;/li&gt;
&lt;li&gt;phone number&lt;/li&gt;
&lt;li&gt;message&lt;/li&gt;
&lt;li&gt;status: New, In Progress, or Done&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Before asking an AI developer to build anything, define the contract.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. State the happy path
&lt;/h2&gt;

&lt;p&gt;A complete inquiry should save successfully and appear in the list with the expected values.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Input&lt;/th&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;th&gt;Expected result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Name, phone, and message&lt;/td&gt;
&lt;td&gt;Submit the form&lt;/td&gt;
&lt;td&gt;One new inquiry appears with status &lt;strong&gt;New&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Existing inquiry&lt;/td&gt;
&lt;td&gt;Change status to &lt;strong&gt;In Progress&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;The visible status changes once&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Updated inquiry&lt;/td&gt;
&lt;td&gt;Refresh or reopen&lt;/td&gt;
&lt;td&gt;The updated status remains&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;This is stronger than “make the form work” because every step can be observed.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Define one recoverable failure
&lt;/h2&gt;

&lt;p&gt;An incomplete form should not silently save bad data or fail without explanation.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Leave the customer name empty.&lt;/li&gt;
&lt;li&gt;Submit the form.&lt;/li&gt;
&lt;li&gt;Confirm that no inquiry is created.&lt;/li&gt;
&lt;li&gt;Show a clear message identifying the missing information.&lt;/li&gt;
&lt;li&gt;Preserve the other values so the user can correct the form without starting again.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The goal is not simply to produce an error. The user must be able to recover.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Check persistence, not just appearance
&lt;/h2&gt;

&lt;p&gt;A preview can look correct while its state exists only in memory. Refreshing or reopening the project is a cheap test that separates a temporary demonstration from a usable workflow.&lt;/p&gt;

&lt;p&gt;After saving an inquiry:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;refresh the page;&lt;/li&gt;
&lt;li&gt;reopen the relevant view;&lt;/li&gt;
&lt;li&gt;confirm that the record still exists;&lt;/li&gt;
&lt;li&gt;confirm that the current status remains correct.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Before using real customer information, also verify who can view the records and where they are stored.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Test the transition, not only the final label
&lt;/h2&gt;

&lt;p&gt;A status selector can display “Done” even when no update was persisted. Test the transition as an event:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;start with &lt;strong&gt;New&lt;/strong&gt;;&lt;/li&gt;
&lt;li&gt;change to &lt;strong&gt;In Progress&lt;/strong&gt;;&lt;/li&gt;
&lt;li&gt;refresh and confirm;&lt;/li&gt;
&lt;li&gt;change to &lt;strong&gt;Done&lt;/strong&gt;;&lt;/li&gt;
&lt;li&gt;refresh and confirm again.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the product will support multiple users, permissions and tenant separation require their own evidence. Do not assume this small contract proves them.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Ask for the evidence with the build
&lt;/h2&gt;

&lt;p&gt;A useful build request can include both the outcome and its proof conditions:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Build a customer-inquiry tracker with name, phone number, message, and status. Add one sample inquiry. Test one complete submission, show a clear recoverable error for missing required information, confirm saved data remains after refresh, and show the working preview. Report which checks passed and what remains unverified.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That final sentence matters. A failed check is useful information; hiding it behind a polished preview is not.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to continue after the first contract passes
&lt;/h2&gt;

&lt;p&gt;Once the basic path works, continue the same project with one justified improvement:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;search or filter inquiries;&lt;/li&gt;
&lt;li&gt;assign an owner;&lt;/li&gt;
&lt;li&gt;record status history;&lt;/li&gt;
&lt;li&gt;export selected records;&lt;/li&gt;
&lt;li&gt;add authentication and test its access rules.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each improvement should add its own acceptance condition. This keeps the project understandable and prevents “more features” from replacing evidence.&lt;/p&gt;

&lt;h2&gt;
  
  
  A compact definition of done
&lt;/h2&gt;

&lt;p&gt;For a small AI-built workflow, my minimum definition is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;valid input succeeds;&lt;/li&gt;
&lt;li&gt;invalid input fails clearly and recoverably;&lt;/li&gt;
&lt;li&gt;important state survives refresh;&lt;/li&gt;
&lt;li&gt;the delivered preview demonstrates the real path;&lt;/li&gt;
&lt;li&gt;the builder states what was not verified.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This does not prove production readiness, security, scalability, or regulatory compliance. It proves one useful journey and creates a stable base for the next change.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Founder disclosure:&lt;/strong&gt; I build &lt;a href="https://www.admas.dev/" rel="noopener noreferrer"&gt;Admas&lt;/a&gt;, an AI developer workspace. The acceptance contract above is a practical planning example, not a report of a completed Admas build. Use it to define a useful first result and the evidence needed before adding more scope.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>testing</category>
      <category>productivity</category>
    </item>
    <item>
      <title>AI Generated the App. How Do You Know It Actually Works?</title>
      <dc:creator>Admas</dc:creator>
      <pubDate>Mon, 28 Sep 2026 14:15:32 +0000</pubDate>
      <link>https://dev.to/admasdev/ai-generated-the-app-how-do-you-know-it-actually-works-j8g</link>
      <guid>https://dev.to/admasdev/ai-generated-the-app-how-do-you-know-it-actually-works-j8g</guid>
      <description>&lt;p&gt;Generating code is no longer the difficult part.&lt;/p&gt;

&lt;p&gt;The harder question is: &lt;strong&gt;who verified the behavior of the application after the code was written?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A successful build proves that the project compiled or bundled. It does not prove that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A user can complete the main workflow.&lt;/li&gt;
&lt;li&gt;Invalid input is rejected correctly.&lt;/li&gt;
&lt;li&gt;Saved data survives a refresh.&lt;/li&gt;
&lt;li&gt;Unauthorized users cannot access protected actions.&lt;/li&gt;
&lt;li&gt;The preview matches the current code.&lt;/li&gt;
&lt;li&gt;A later change did not break something that previously worked.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For an AI-built application, I believe “done” should require observable evidence from the running product.&lt;/p&gt;

&lt;p&gt;A simple verification standard can begin with four checks:&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Test the successful path
&lt;/h2&gt;

&lt;p&gt;Complete the action exactly as a real user would.&lt;/p&gt;

&lt;p&gt;If it is a booking application, create a booking and verify that it appears in the owner dashboard.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Test the failure path
&lt;/h2&gt;

&lt;p&gt;Submit invalid information or attempt an action that should be rejected.&lt;/p&gt;

&lt;p&gt;A working success screen means little if the application accepts impossible dates, duplicate reservations, or malformed data.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Test persistence
&lt;/h2&gt;

&lt;p&gt;Refresh or reopen the application.&lt;/p&gt;

&lt;p&gt;If the data disappears, the interface may look complete while the actual product is not.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Test a boundary
&lt;/h2&gt;

&lt;p&gt;Attempt one action the current user should not be allowed to perform.&lt;/p&gt;

&lt;p&gt;Authentication is not the same as authorization. A user being signed in does not mean every record or action should be accessible.&lt;/p&gt;

&lt;p&gt;This verification loop is central to what we are building at Admas: &lt;a href="https://www.admas.dev" rel="noopener noreferrer"&gt;https://www.admas.dev&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Admas works inside the project through planning, editing, running, testing, repairing, and previewing—not merely generating files and declaring completion.&lt;/p&gt;

&lt;p&gt;The larger principle applies to every AI software-development tool:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Don’t ask only, “Did the agent write the code?”&lt;br&gt;&lt;br&gt;
Ask, “Can I reproduce both success and failure in the running application?”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;What evidence do you require before trusting an AI-generated application: a successful build, automated tests, a working preview, or something else?&lt;/p&gt;

&lt;p&gt;Disclosure: I’m part of the team building Admas.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
