article thumbnail

Test-Driving HTML Templates

Martin Fowler

When building a server-side rendered web application, it's valuable to test the HTML that's generated through templates. While these can be tested through end-to-end tests running in the browser, such tests are slow and more work to maintain than unit tests.

Testing 283
article thumbnail

An example of LLM prompting for programming

Martin Fowler

He showed an example of how he uses ChatGPT to help him code in a self-testing style. A couple of weeks ago I watched a fascinating Zoom call hosted by Xu Hao , Thoughtworks's Head of Technology in China. His initial prompt primes the LLM with an implementation strategy (chain of thought prompting).

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

From Example Mapping to Tested, Delivered Code

Agile Alliance

The post From Example Mapping to Tested, Delivered Code first appeared on Agile Alliance. Learn more about becoming a Member of the Agile Alliance, or visit our Membership Options and join today! Username Password Remember … Continued.

Examples 190
article thumbnail

How to Speedup Your CDK Test Feedback

Xebia

When you deploy lambda functions using CDK and a test-driven approach, you might have noticed that the test feedback takes longer each time you add a new function. But the synth step is also used when you test your infrastructure code. For example, you are expecting a Lambda function. The process is like the deploy step.

Testing 130
article thumbnail

The 5 Product Discovery Secrets Every PM Should Know

Speaker: Jim Morris, Founder, Product Discovery Group

By using the Product Discovery Cycle, teams can find new ideas, understand customer pain points, and test solutions quickly and cheaply. During this presentation, attendees will hear case studies, examples, and best practices gleaned from Jim's 25 years of using the Product Discovery Cycle.

article thumbnail

6 Small Unit Testing Tips

Henrik Warne

Choosing test values when writing unit tests is mostly guided by the need to cover all cases of the program logic. Here are a few tips on how to pick values that make mistakes easy to spot and the tests easy to read. Plus a bonus tip on a quick way to double check your tests. . Test what shouldn’t happen.

Testing 296
article thumbnail

Security testing with just your browser

Xebia

Security testing is a whole profession on its own, which requires knowledge of niche tools, experience with various technologies, and a bit of destructive mindset. But it doesn’t mean security testing should be left only to the experts. Let’s see what this means for our example. These tools can be used to inspect (and modify!)

Testing 130
article thumbnail

Why Product Managers Must Relearn Their Customers

Speaker: Janelle Estes, CIO, User Testing

How to use customer feedback to understand their needs, test hypotheses, and refine your approach through ongoing feedback. Real-life examples of this process. In this webinar, you will learn: The critical areas during product design and development process when you need to reach out to customers.

article thumbnail

How to Achieve Product-Market Fit

Speaker: Dan Olsen - Product Management Trainer and Consultant, Author, and Speaker

Come learn how to turn product management into more of a science than an art to improve your odds of success.